]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb49d82549ef76c359c0b08e7c233daab9b4ff986
tree2c211d542b2aa3fcc49c1f7c1a6d896f6b3aafa1
parent6e40aa3a1b278a1497e0e491c5ec0ca2af4925d6
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