ab8500-chargalg: Only root should have write permission on sysfs file
authorLee Jones <lee.jones@linaro.org>
Thu, 17 Jan 2013 14:21:53 +0000 (14:21 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 3 Mar 2013 22:03:38 +0000 (06:03 +0800)
commit71b9101a2b66f46703573c0a4aeca91b92038dbc
tree12b9f04992f258626d95ad564403caadec2b20c6
parenteddf61b2363eb515138aa7fd1627c1747f269131
ab8500-chargalg: Only root should have write permission on sysfs file

commit e3455002d04276c256a531f7175dce0f7d1cb78a upstream.

Only root should have write permission on sysfs file ab8500_chargalg/chargalg.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/power/abx500_chargalg.c