Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
power_supply_sysfs.c File Reference
#include <linux/ctype.h>
#include <linux/device.h>
#include <linux/power_supply.h>
#include <linux/slab.h>
#include <linux/stat.h>
#include "power_supply.h"

Go to the source code of this file.

Macros

#define POWER_SUPPLY_ATTR(_name)
 

Functions

void power_supply_init_attrs (struct device_type *dev_type)
 
int power_supply_uevent (struct device *dev, struct kobj_uevent_env *env)
 

Macro Definition Documentation

#define POWER_SUPPLY_ATTR (   _name)
Value:
{ \
.attr = { .name = #_name }, \
.show = power_supply_show_property, \
.store = power_supply_store_property, \
}

Definition at line 34 of file power_supply_sysfs.c.

Function Documentation

void power_supply_init_attrs ( struct device_type dev_type)

Definition at line 235 of file power_supply_sysfs.c.

int power_supply_uevent ( struct device dev,
struct kobj_uevent_env env 
)

Definition at line 262 of file power_supply_sysfs.c.