forked from Minki/linux
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>
This commit is contained in:
parent
e109374f6b
commit
7aff967581
@ -171,14 +171,14 @@ static int ks8995_write(struct ks8995_switch *ks, char *buf,
|
||||
|
||||
static inline int ks8995_read_reg(struct ks8995_switch *ks, u8 addr, u8 *buf)
|
||||
{
|
||||
return (ks8995_read(ks, buf, addr, 1) != 1);
|
||||
return ks8995_read(ks, buf, addr, 1) != 1;
|
||||
}
|
||||
|
||||
static inline int ks8995_write_reg(struct ks8995_switch *ks, u8 addr, u8 val)
|
||||
{
|
||||
char buf = val;
|
||||
|
||||
return (ks8995_write(ks, &buf, addr, 1) != 1);
|
||||
return ks8995_write(ks, &buf, addr, 1) != 1;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------------ */
|
||||
|
Loading…
Reference in New Issue
Block a user