net: phy: spi_ks8995: clean up ks8995_registers_read/write
authorVladimir Zapolskiy <vz@mleia.com>
Wed, 29 Jul 2015 21:44:20 +0000 (00:44 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 21:16:45 +0000 (14:16 -0700)
commit2f51a9b8adbb6ad06689ec28342e89f40acb97fc
tree2c211d542b2aa3fcc49c1f7c1a6d896f6b3aafa1
parent951debb949f4adcfdd0cc6ca85c524243f3ead26
net: phy: spi_ks8995: clean up ks8995_registers_read/write

The change removes redundant sysfs binary file boundary checks,
since this task is already done on caller side in fs/sysfs/file.c

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/spi_ks8995.c