HID: playstation: fix return from dualsense_player_led_set_brightness()
authorJiri Kosina <jkosina@suse.cz>
Wed, 27 Oct 2021 08:04:10 +0000 (10:04 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 27 Oct 2021 08:05:07 +0000 (10:05 +0200)
commit3c92cb4cb60c71b574e47108ead8b6f0470850db
tree24242757715fad3a6947c7f8eaf70b18728f5baf
parent8c0ab553b072025530308f74b2c0223ec50dffe5
HID: playstation: fix return from dualsense_player_led_set_brightness()

brightness_set_blocking() callback expects function returning int. This fixes
the follwoing build failure:

drivers/hid/hid-playstation.c: In function â€˜dualsense_player_led_set_brightness’:
drivers/hid/hid-playstation.c:885:1: error: no return statement in function returning non-void [-Werror=return-type]
 }
 ^

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-playstation.c