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:06:44 +0000 (06:06 +0800)
commitf9a8884a35a74f1fb9f12a17f62331bdc6eac2af
treeede355a00b21014fd4e8ba7b614a3856dfca8abe
parent916b6c67cd471fafa3e5e53ce8389c36749ed6f1
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