summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorSven Van Asbroeck <thesven73@gmail.com>2017-04-21 16:19:02 +0300
committerThierry Reding <thierry.reding@gmail.com>2017-07-25 14:41:59 +0300
commit0829326ab26ecc598985b6e456c045a15bd253e4 (patch)
tree5832b72c542bf1c3c1cdae65bd512f634010bc7e /tools/perf/scripts/python/call-graph-from-postgresql.py
parent36af66a7905699a5c8e384e8777ead7be68a3ab9 (diff)
downloadlinux-0829326ab26ecc598985b6e456c045a15bd253e4.tar.xz
pwm: pca9685: clarify pca9685_set_sleep_mode() interface.
The function static void pca9685_set_sleep_mode(struct pca9685 *pca, int sleep) takes the chip in and out of sleep mode, depending on the value of sleep, which is interpreted as a boolean. To clarify that 'int sleep' is a boolean and not a sleep delay, change the function interface to: static void pca9685_set_sleep_mode(struct pca9685 *pca, bool enable) Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Sven Van Asbroeck <thesven73@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions