cregit-Linux how code gets into the kernel

Release 4.7 drivers/power/power_supply.h

Directory: drivers/power
/*
 *  Functions private to power supply class
 *
 *  Copyright © 2007  Anton Vorontsov <cbou@mail.ru>
 *  Copyright © 2004  Szabolcs Gyurko
 *  Copyright © 2003  Ian Molton <spyro@f2s.com>
 *
 *  Modified: 2004, Oct     Szabolcs Gyurko
 *
 *  You may use this code as per GPL version 2
 */

struct device;
struct device_type;
struct power_supply;

#ifdef CONFIG_SYSFS

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

#else


static inline void power_supply_init_attrs(struct device_type *dev_type) {}

Contributors

PersonTokensPropCommitsCommitProp
anton vorontsovanton vorontsov11100.00%2100.00%
Total11100.00%2100.00%

#define power_supply_uevent NULL #endif /* CONFIG_SYSFS */ #ifdef CONFIG_LEDS_TRIGGERS extern void power_supply_update_leds(struct power_supply *psy); extern int power_supply_create_triggers(struct power_supply *psy); extern void power_supply_remove_triggers(struct power_supply *psy); #else
static inline void power_supply_update_leds(struct power_supply *psy) {}

Contributors

PersonTokensPropCommitsCommitProp
anton vorontsovanton vorontsov11100.00%1100.00%
Total11100.00%1100.00%


static inline int power_supply_create_triggers(struct power_supply *psy) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
anton vorontsovanton vorontsov15100.00%1100.00%
Total15100.00%1100.00%


static inline void power_supply_remove_triggers(struct power_supply *psy) {}

Contributors

PersonTokensPropCommitsCommitProp
anton vorontsovanton vorontsov11100.00%1100.00%
Total11100.00%1100.00%

#endif /* CONFIG_LEDS_TRIGGERS */

Overall Contributors

PersonTokensPropCommitsCommitProp
anton vorontsovanton vorontsov12190.98%250.00%
paul gortmakerpaul gortmaker96.77%125.00%
kay sieverskay sievers32.26%125.00%
Total133100.00%4100.00%
Directory: drivers/power
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}