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

Go to the source code of this file.

Data Structures

struct  tps65090_regulator
 

Macros

#define tps65090_REG(_id)
 

Functions

 subsys_initcall (tps65090_regulator_init)
 
 module_exit (tps65090_regulator_exit)
 
 MODULE_DESCRIPTION ("tps65090 regulator driver")
 
 MODULE_AUTHOR ("Venu Byravarasu <[email protected]>")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define tps65090_REG (   _id)
Value:
{ \
.id = TPS65090_ID_##_id, \
.desc = { \
.name = tps65090_rails(_id), \
.id = TPS65090_ID_##_id, \
.ops = &tps65090_ops, \
.type = REGULATOR_VOLTAGE, \
.owner = THIS_MODULE, \
.enable_reg = (TPS65090_ID_##_id) + 12, \
.enable_mask = BIT(0), \
}, \
}

Definition at line 44 of file tps65090-regulator.c.

Function Documentation

MODULE_AUTHOR ( "Venu Byravarasu <[email protected]>"  )
MODULE_DESCRIPTION ( "tps65090 regulator driver )
module_exit ( tps65090_regulator_exit  )
MODULE_LICENSE ( "GPL v2 )
subsys_initcall ( tps65090_regulator_init  )