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

Go to the source code of this file.

Data Structures

struct  aat2870_regulator
 

Macros

#define AAT2870_LDO(ids)
 

Functions

 subsys_initcall (aat2870_regulator_init)
 
 module_exit (aat2870_regulator_exit)
 
 MODULE_DESCRIPTION ("AnalogicTech AAT2870 Regulator")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Jin Park <[email protected]>")
 
 MODULE_ALIAS ("platform:aat2870-regulator")
 

Macro Definition Documentation

#define AAT2870_LDO (   ids)
Value:
{ \
.desc = { \
.name = #ids, \
.id = AAT2870_ID_##ids, \
.n_voltages = ARRAY_SIZE(aat2870_ldo_voltages), \
.volt_table = aat2870_ldo_voltages, \
.ops = &aat2870_ldo_ops, \
.type = REGULATOR_VOLTAGE, \
.owner = THIS_MODULE, \
}, \
}

Definition at line 116 of file aat2870-regulator.c.

Function Documentation

MODULE_ALIAS ( "platform:aat2870-regulator )
MODULE_AUTHOR ( "Jin Park <[email protected]>"  )
MODULE_DESCRIPTION ( "AnalogicTech AAT2870 Regulator"  )
module_exit ( aat2870_regulator_exit  )
MODULE_LICENSE ( "GPL"  )
subsys_initcall ( aat2870_regulator_init  )