cfg80211: sysfs: use wiphy_name()
commit5ec71dd7f1b63da20fefebabf1e66cb530b9eb4d
authorJohannes Berg <johannes.berg@intel.com>
Wed, 4 Jan 2017 07:24:49 +0000 (4 08:24 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 4 Jan 2017 07:24:49 +0000 (4 08:24 +0100)
tree34d669bcf4f27e02211e5da71dabe6fc3edf768c
parentb7f98864de216dc450e6d535c67bd3d7680df2a3
cfg80211: sysfs: use wiphy_name()

Instead of open-coding dev_name(), use the wiphy_name() inline
to make the code easier to understand. While at it, clean up
some coding style.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/sysfs.c