Loading drivers/regulator/core.c +0 −17 Original line number Diff line number Diff line Loading @@ -53,7 +53,6 @@ static LIST_HEAD(regulator_list); static LIST_HEAD(regulator_map_list); static LIST_HEAD(regulator_ena_gpio_list); static bool has_full_constraints; static bool board_wants_dummy_regulator; static struct dentry *debugfs_root; Loading Loading @@ -3615,22 +3614,6 @@ void regulator_has_full_constraints(void) } EXPORT_SYMBOL_GPL(regulator_has_full_constraints); /** * regulator_use_dummy_regulator - Provide a dummy regulator when none is found * * Calling this function will cause the regulator API to provide a * dummy regulator to consumers if no physical regulator is found, * allowing most consumers to proceed as though a regulator were * configured. This allows systems such as those with software * controllable regulators for the CPU core only to be brought up more * readily. */ void regulator_use_dummy_regulator(void) { board_wants_dummy_regulator = true; } EXPORT_SYMBOL_GPL(regulator_use_dummy_regulator); /** * rdev_get_drvdata - get rdev regulator driver data * @rdev: regulator Loading include/linux/regulator/machine.h +0 −5 Original line number Diff line number Diff line Loading @@ -193,15 +193,10 @@ int regulator_suspend_finish(void); #ifdef CONFIG_REGULATOR void regulator_has_full_constraints(void); void regulator_use_dummy_regulator(void); #else static inline void regulator_has_full_constraints(void) { } static inline void regulator_use_dummy_regulator(void) { } #endif #endif Loading
drivers/regulator/core.c +0 −17 Original line number Diff line number Diff line Loading @@ -53,7 +53,6 @@ static LIST_HEAD(regulator_list); static LIST_HEAD(regulator_map_list); static LIST_HEAD(regulator_ena_gpio_list); static bool has_full_constraints; static bool board_wants_dummy_regulator; static struct dentry *debugfs_root; Loading Loading @@ -3615,22 +3614,6 @@ void regulator_has_full_constraints(void) } EXPORT_SYMBOL_GPL(regulator_has_full_constraints); /** * regulator_use_dummy_regulator - Provide a dummy regulator when none is found * * Calling this function will cause the regulator API to provide a * dummy regulator to consumers if no physical regulator is found, * allowing most consumers to proceed as though a regulator were * configured. This allows systems such as those with software * controllable regulators for the CPU core only to be brought up more * readily. */ void regulator_use_dummy_regulator(void) { board_wants_dummy_regulator = true; } EXPORT_SYMBOL_GPL(regulator_use_dummy_regulator); /** * rdev_get_drvdata - get rdev regulator driver data * @rdev: regulator Loading
include/linux/regulator/machine.h +0 −5 Original line number Diff line number Diff line Loading @@ -193,15 +193,10 @@ int regulator_suspend_finish(void); #ifdef CONFIG_REGULATOR void regulator_has_full_constraints(void); void regulator_use_dummy_regulator(void); #else static inline void regulator_has_full_constraints(void) { } static inline void regulator_use_dummy_regulator(void) { } #endif #endif