leds: flash: Fix multicolor no-ops registration by return 0
authorGene Chen <gene_chen@richtek.com>
Mon, 21 Dec 2020 10:45:51 +0000 (18:45 +0800)
committerPavel Machek <pavel@ucw.cz>
Fri, 19 Feb 2021 10:54:08 +0000 (11:54 +0100)
commit6039b7e87be0b350a5f8fc135adfb5d1f4ba66ad
treef4e4696c017376a3fd42436fcf0cd7636c26f9e9
parent8e5c38a33c84935d66cfcf23c96960b6c4b484ef
leds: flash: Fix multicolor no-ops registration by return 0

Fix multicolor no-ops registration by return 0,
and move the same registration functions outside of #ifdef block.

Signed-off-by: Gene Chen <gene_chen@richtek.com>
Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
include/linux/led-class-multicolor.h