As applying HAL ABI Versioning, old style function pointer initialization was removed.
However, this one line was omitted.
This is necessary for proper function pointer initialization.
Change-Id: I2942f0243b01a3f834bdedc3e2d2a06e696bdb87
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
device_battery_funcs->unregister_changed_event = battery_unregister_changed_event;
device_battery_funcs->get_current_state = battery_get_current_state;
- *data = (void *)device_battery_funcs;
-
return 0;
}