#include <linux/leds.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/mfd/tps6105x.h>
#include <linux/regmap.h>
struct tps6105x_priv { … };
static void tps6105x_handle_put(void *data)
{ … }
static int tps6105x_brightness_set(struct led_classdev *cdev,
enum led_brightness brightness)
{ … }
static int tps6105x_led_probe(struct platform_device *pdev)
{ … }
static struct platform_driver led_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;