driver core: print sysfs attribute name when warning about bogus permissions
authordyoung@redhat.com <dyoung@redhat.com>
Thu, 16 May 2013 06:31:30 +0000 (14:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 16:05:52 +0000 (09:05 -0700)
commit97521978c5ea80857d4f4f74d4e1fc93721482cf
tree7382ef10ce4cae297584ce0c08859da487d0994e
parent1c04fc3536b9e6d143991a8c5c16b04866baeed6
driver core: print sysfs attribute name when warning about bogus permissions

Make it obvious to see what attribute is using bogus permissions.

Signed-off-by: Dave Young <dyoung@redhat.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/core.c