Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
leds-regulator.c File Reference
#include <linux/module.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/leds.h>
#include <linux/leds-regulator.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>

Go to the source code of this file.

Data Structures

struct  regulator_led
 

Macros

#define to_regulator_led(led_cdev)   container_of(led_cdev, struct regulator_led, cdev)
 

Functions

 module_platform_driver (regulator_led_driver)
 
 MODULE_AUTHOR ("Antonio Ospite <[email protected]>")
 
 MODULE_DESCRIPTION ("Regulator driven LED driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:leds-regulator")
 

Macro Definition Documentation

#define to_regulator_led (   led_cdev)    container_of(led_cdev, struct regulator_led, cdev)

Definition at line 23 of file leds-regulator.c.

Function Documentation

MODULE_ALIAS ( "platform:leds-regulator )
MODULE_AUTHOR ( "Antonio Ospite <[email protected]>"  )
MODULE_DESCRIPTION ( "Regulator driven LED driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( regulator_led_driver  )