aboutsummaryrefslogtreecommitdiff
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-10-28 14:00:54 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-11-21 11:08:19 -0500
commit4f6d4d1e36f30ac05bc39bcbfdba09e64e0f918c (patch)
tree8a19adc28972d45ce9353b205c62303526bf1a6d /mm/swapfile.c
parent96dd603f3817c5289a906539cb85bddae9536868 (diff)
wireless: clean up sysfs code using %pM
Remove converting the MAC address to a string by a direct byte conversion and use %pM instead, since the code is now boilerplate use a macro to define the show functions, and also use the shorter __ATTR_RO macro to define the attributes. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions