#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/leds.h>
#include <linux/err.h>
#include <linux/mfd/wm8350/pmic.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
#include <linux/module.h>
static const int isink_cur[] = …;
#define to_wm8350_led(led_cdev) …
static int wm8350_led_enable(struct wm8350_led *led)
{ … }
static int wm8350_led_disable(struct wm8350_led *led)
{ … }
static int wm8350_led_set(struct led_classdev *led_cdev,
enum led_brightness value)
{ … }
static void wm8350_led_shutdown(struct platform_device *pdev)
{ … }
static int wm8350_led_probe(struct platform_device *pdev)
{ … }
static void wm8350_led_remove(struct platform_device *pdev)
{ … }
static struct platform_driver wm8350_led_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;