20 #include <linux/module.h>
22 #include <linux/device.h>
26 #include <linux/slab.h>
65 level = bl->
props.brightness;
76 return bl->
props.brightness;
82 .get_brightness = sharp_ls_bl_get_brightness,
83 .update_status = sharp_ls_bl_update_status,
95 dssdev->
panel.timings = sharp_ls_timings;
108 &sharp_ls_bl_ops, &props);
119 r = sharp_ls_bl_update_status(bl);
121 dev_err(&dssdev->
dev,
"failed to set lcd brightness\n");
132 sharp_ls_bl_update_status(bl);
186 r = sharp_ls_power_on(dssdev);
193 sharp_ls_power_off(dssdev);
199 sharp_ls_power_off(dssdev);
207 r = sharp_ls_power_on(dssdev);
213 .probe = sharp_ls_panel_probe,
214 .remove =
__exit_p(sharp_ls_panel_remove),
216 .enable = sharp_ls_panel_enable,
217 .disable = sharp_ls_panel_disable,
218 .suspend = sharp_ls_panel_suspend,
219 .resume = sharp_ls_panel_resume,
222 .name =
"sharp_ls_panel",
227 static int __init sharp_ls_panel_drv_init(
void)
232 static void __exit sharp_ls_panel_drv_exit(
void)