Commit 0829326a authored by Committed by Thierry Reding
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@example.com> Signed-off-by: Sven Van Asbroeck <firstname.lastname@example.org> Reviewed-by: Andy Shevchenko <email@example.com> Signed-off-by: Thierry Reding <firstname.lastname@example.org>
Showing with 7 additions and 7 deletions