]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PMU battery: filenames in sysfs with spaces
authorChristian Kujau <lists@nerdbynature.de>
Fri, 2 May 2008 20:41:56 +0000 (13:41 -0700)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 2 May 2008 23:40:42 +0000 (03:40 +0400)
commit35bf559145b6332f5465c15a4e5cd7a363985382
treebab0feb9883337ea9eb054ca69a18673dbfea191
parentf6b6b180b4614e57af217045f71caedd94821fc7
PMU battery: filenames in sysfs with spaces

By changing drivers/power/pmu_battery.c I now have '_' instead of
' ' (spaces) in /sys:

/sys/devices/platform/pmu-battery.0/power_supply/PMU_battery_0
/sys/class/power_supply/PMU_battery_0

I'm still not sure if some userspace tool out there uses the old paths and
will break now.

Signed-off-by: Christian Kujau <lists@nerdbynature.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/pmu_battery.c