sfc: Remove write permission from phy_type attribute
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 18 Jun 2013 16:45:40 +0000 (17:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jun 2013 05:18:52 +0000 (22:18 -0700)
commit776fbcc9cbece10756bdb67b48a0798e6446f16b
tree34edd470f62668234701d4bc6c02990a7c07593c
parent3ac19c900cf4a46748d789c49d84a58c37b93841
sfc: Remove write permission from phy_type attribute

Driver probe currently results in:

WARNING: at drivers/base/core.c:576 device_create_file+0x57/0x7e()
Attribute phy_type: write permission without 'store'

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/efx.c