From: Vladimir Zapolskiy Date: Mon, 3 Nov 2014 23:25:09 +0000 (+0200) Subject: net: phy: spi_ks8995: remove sysfs bin file by registered attribute X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~276 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30349bdbc4da5ecf0efa25556e3caff9c9b8c5f7;p=pandora-kernel.git net: phy: spi_ks8995: remove sysfs bin file by registered attribute When a sysfs binary file is asked to be removed, it is found by attribute name, so strictly speaking this change is not a fix, but just in case when attribute name is changed in the driver or sysfs internals are changed, it might be better to remove the previously created file using right the same binary attribute. Signed-off-by: Vladimir Zapolskiy Cc: Florian Fainelli Cc: David S. Miller Reviewed-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed