Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
leds-wm8350.c File Reference
#include <linux/kernel.h>
#include <linux/init.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>

Go to the source code of this file.

Macros

#define to_wm8350_led(led_cdev)   container_of(led_cdev, struct wm8350_led, cdev)
 

Functions

 module_platform_driver (wm8350_led_driver)
 
 MODULE_AUTHOR ("Mark Brown")
 
 MODULE_DESCRIPTION ("WM8350 LED driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:wm8350-led")
 

Macro Definition Documentation

#define to_wm8350_led (   led_cdev)    container_of(led_cdev, struct wm8350_led, cdev)

Definition at line 90 of file leds-wm8350.c.

Function Documentation

MODULE_ALIAS ( "platform:wm8350-led )
MODULE_AUTHOR ( "Mark Brown"  )
MODULE_DESCRIPTION ( "WM8350 LED driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( wm8350_led_driver  )