From: Yunhee Seo Date: Thu, 5 Dec 2024 04:57:21 +0000 (+0900) Subject: led: Remove unused get_state() initialization X-Git-Tag: accepted/tizen/9.0/unified/20241210.162004^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a80299c543f3935879ebd08ce0a245106e94624a;p=platform%2Fhal%2Fbackend%2Frpi%2Fdevice-rpi.git led: Remove unused get_state() initialization Before apply HAL ACR process, unused and unmanaged function will be removed. This because there is no usage case and implementation of this function. As removed from hal-api interface, it is also removed from hal-backend. Change-Id: I645bb6d540bf2305b4f51d808abae743d6f8a7d9 Signed-off-by: Yunhee Seo --- diff --git a/hw/led/led.c b/hw/led/led.c index e07ab7d..dfae5a0 100644 --- a/hw/led/led.c +++ b/hw/led/led.c @@ -351,7 +351,6 @@ static int led_init(void **data) return -ENOMEM; led_device->notification->set_state = gpio_rgb_set_state; - led_device->notification->get_state = NULL; led_device->notification->get_number = NULL; led_device->notification->set_num = NULL; led_device->notification->get_max_num = NULL;