14 #include <linux/kernel.h>
19 #include <linux/slab.h>
20 #include <linux/module.h>
22 #include <mach/hardware.h>
23 #include <mach/regs-gpio.h>
35 return platform_get_drvdata(dev);
43 static void s3c24xx_led_set(
struct led_classdev *led_cdev,
85 platform_set_drvdata(dev, led);
87 led->
cdev.brightness_set = s3c24xx_led_set;
112 dev_err(&dev->
dev,
"led_classdev_register failed\n");
118 .probe = s3c24xx_led_probe,
119 .remove = s3c24xx_led_remove,
121 .name =
"s3c24xx_led",