leds-clevo-mail.c (851462444d421c223965b12b836bef63da61b57f) | leds-clevo-mail.c (98ea1ea20cb7090d5ae2003c23fc8a7f14fca4c7) |
---|---|
1 2#include <linux/module.h> 3 4#include <linux/platform_device.h> 5#include <linux/err.h> 6#include <linux/leds.h> 7 8#include <linux/io.h> --- 139 unchanged lines hidden (view full) --- 148 149static struct led_classdev clevo_mail_led = { 150 .name = "clevo::mail", 151 .brightness_set = clevo_mail_led_set, 152 .blink_set = clevo_mail_led_blink, 153 .flags = LED_CORE_SUSPENDRESUME, 154}; 155 | 1 2#include <linux/module.h> 3 4#include <linux/platform_device.h> 5#include <linux/err.h> 6#include <linux/leds.h> 7 8#include <linux/io.h> --- 139 unchanged lines hidden (view full) --- 148 149static struct led_classdev clevo_mail_led = { 150 .name = "clevo::mail", 151 .brightness_set = clevo_mail_led_set, 152 .blink_set = clevo_mail_led_blink, 153 .flags = LED_CORE_SUSPENDRESUME, 154}; 155 |
156static int __devinit clevo_mail_led_probe(struct platform_device *pdev) | 156static int clevo_mail_led_probe(struct platform_device *pdev) |
157{ 158 return led_classdev_register(&pdev->dev, &clevo_mail_led); 159} 160 161static int clevo_mail_led_remove(struct platform_device *pdev) 162{ 163 led_classdev_unregister(&clevo_mail_led); 164 return 0; --- 55 unchanged lines hidden --- | 157{ 158 return led_classdev_register(&pdev->dev, &clevo_mail_led); 159} 160 161static int clevo_mail_led_remove(struct platform_device *pdev) 162{ 163 led_classdev_unregister(&clevo_mail_led); 164 return 0; --- 55 unchanged lines hidden --- |