From: NeilBrown Date: Thu, 30 Jul 2015 00:11:24 +0000 (+1000) Subject: twl4030_charger: allow max_current to be managed via sysfs. X-Git-Tag: omap-for-v4.3/fixes-merge-window~37^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aca3c3546396b305fff79f09883cff48a908aac0;p=pandora-kernel.git twl4030_charger: allow max_current to be managed via sysfs. 'max_current' sysfs attributes are created which allow the max to be set. Whenever a current source changes, the default is restored. This will be followed by a uevent, so user-space can decide to update again. Acked-by: Pavel Machek Signed-off-by: NeilBrown Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed