#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/mutex.h>
#include <linux/delay.h>
#include <linux/backlight.h>
#include <linux/mfd/aat2870.h>
struct aat2870_bl_driver_data { … };
static inline int aat2870_brightness(struct aat2870_bl_driver_data *aat2870_bl,
int brightness)
{ … }
static inline int aat2870_bl_enable(struct aat2870_bl_driver_data *aat2870_bl)
{ … }
static inline int aat2870_bl_disable(struct aat2870_bl_driver_data *aat2870_bl)
{ … }
static int aat2870_bl_update_status(struct backlight_device *bd)
{ … }
static const struct backlight_ops aat2870_bl_ops = …;
static int aat2870_bl_probe(struct platform_device *pdev)
{ … }
static void aat2870_bl_remove(struct platform_device *pdev)
{ … }
static struct platform_driver aat2870_bl_driver = …;
static int __init aat2870_bl_init(void)
{ … }
subsys_initcall(aat2870_bl_init);
static void __exit aat2870_bl_exit(void)
{ … }
module_exit(aat2870_bl_exit);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;