led: Remove unused get_state() initialization 32/315832/1 accepted/tizen_9.0_unified tizen_9.0 accepted/tizen/9.0/unified/20241210.162004
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 5 Dec 2024 04:57:21 +0000 (13:57 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Thu, 5 Dec 2024 04:59:37 +0000 (13:59 +0900)
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 <yuni.seo@samsung.com>
hw/led/led.c

index e07ab7d1d42c3af7d853d85108d98fe357dff9b1..dfae5a0191ae3d75d4a178ae665ce74c2c342e11 100644 (file)
@@ -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;