From: Johannes Berg Date: Tue, 28 Oct 2008 13:00:54 +0000 (+0100) Subject: wireless: clean up sysfs code using %pM X-Git-Tag: v2.6.29-rc1~581^2~580^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f6d4d1e36f30ac05bc39bcbfdba09e64e0f918c;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed