diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2013-12-18 00:38:13 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-18 00:49:02 -0500 |
commit | 7aff9675812303a4885e94d9aa43e86e7f61ac61 (patch) | |
tree | d48191f090019d3cf8398100cf13db313ff5972a /drivers/net/phy | |
parent | e109374f6b695fc988b8d4a964792e9ba7953dad (diff) |
net: phy: spi_ks8995: fix checkpatch errors
checkpatch spotted two errors, fix them.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/spi_ks8995.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/spi_ks8995.c b/drivers/net/phy/spi_ks8995.c index 98fb9f360d83..0ba431145a84 100644 --- a/drivers/net/phy/spi_ks8995.c +++ b/drivers/net/phy/spi_ks8995.c | |||
@@ -171,14 +171,14 @@ static int ks8995_write(struct ks8995_switch *ks, char *buf, | |||
171 | 171 | ||
172 | static inline int ks8995_read_reg(struct ks8995_switch *ks, u8 addr, u8 *buf) | 172 | static inline int ks8995_read_reg(struct ks8995_switch *ks, u8 addr, u8 *buf) |
173 | { | 173 | { |
174 | return (ks8995_read(ks, buf, addr, 1) != 1); | 174 | return ks8995_read(ks, buf, addr, 1) != 1; |
175 | } | 175 | } |
176 | 176 | ||
177 | static inline int ks8995_write_reg(struct ks8995_switch *ks, u8 addr, u8 val) | 177 | static inline int ks8995_write_reg(struct ks8995_switch *ks, u8 addr, u8 val) |
178 | { | 178 | { |
179 | char buf = val; | 179 | char buf = val; |
180 | 180 | ||
181 | return (ks8995_write(ks, &buf, addr, 1) != 1); | 181 | return ks8995_write(ks, &buf, addr, 1) != 1; |
182 | } | 182 | } |
183 | 183 | ||
184 | /* ------------------------------------------------------------------------ */ | 184 | /* ------------------------------------------------------------------------ */ |