aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSven Van Asbroeck <[email protected]>2017-04-21 09:19:02 -0400
committerThierry Reding <[email protected]>2017-07-25 13:41:59 +0200
commit0829326ab26ecc598985b6e456c045a15bd253e4 (patch)
tree5832b72c542bf1c3c1cdae65bd512f634010bc7e /tools/perf/scripts/python/bin
parent36af66a7905699a5c8e384e8777ead7be68a3ab9 (diff)
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 <[email protected]> Signed-off-by: Sven Van Asbroeck <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions