]> git.karo-electronics.de Git - linux-beck.git/commit
driver-core: fix DEVICE_INT_ATTR to use correct show/store functions
authorMichael Davidson <md@google.com>
Thu, 3 May 2012 23:19:02 +0000 (16:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 May 2012 23:26:20 +0000 (16:26 -0700)
commit94758185689ee96694558d720d44e81b4e0abc3d
tree756925262fd350f548cfbdaaf3296c672bb7156d
parent4ae68e7345b0d5d49e1c2c7583d15a3c177f8a2f
driver-core: fix DEVICE_INT_ATTR to use correct show/store functions

DEVICE_INT_ATTR() should use device_show_int() and device_store_int()
not device_show_ulong() and device_store_ulong()

Signed-off-by: Michael Davidson <md@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device.h