OSDN Git Service

leds-pca955x: Remove the unused function pca95xx_num_led_regs()
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 17 Oct 2022 08:10:53 +0000 (16:10 +0800)
committerPavel Machek <pavel@ucw.cz>
Fri, 21 Oct 2022 13:08:07 +0000 (15:08 +0200)
commit38bcb51f81af17a6d40fc135e565fc1fb8aa8e9d
tree0886cbf1d0cc2d24dcb9aef8785684afe950c64f
parent9abf2313adc1ca1b6180c508c25f22f9395cc780
leds-pca955x: Remove the unused function pca95xx_num_led_regs()

The function pca95xx_num_led_regs() is defined in the leds-pca955x.c
file, but not called elsewhere, so delete this unused function.

drivers/leds/leds-pca955x.c:149:19: warning: unused function 'pca95xx_num_led_regs'.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2411
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-pca955x.c