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)
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

Simple merge