commit | 4f6d4d1e36f30ac05bc39bcbfdba09e64e0f918c | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Tue Oct 28 14:00:54 2008 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Nov 21 11:08:19 2008 -0500 |
tree | 8a19adc28972d45ce9353b205c62303526bf1a6d | |
parent | 96dd603f3817c5289a906539cb85bddae9536868 [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>