projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e109374
)
net: phy: spi_ks8995: fix checkpatch errors
author
Florian Fainelli
<f.fainelli@gmail.com>
Wed, 18 Dec 2013 05:38:13 +0000
(21:38 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 18 Dec 2013 05:49:02 +0000
(
00:49
-0500)
checkpatch spotted two errors, fix them.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/spi_ks8995.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/phy/spi_ks8995.c
b/drivers/net/phy/spi_ks8995.c
index 98fb9f360d83c464373036c050ff9382a1ff7372..0ba431145a84744ea7fac3a0d0fa18d44fcf9cec 100644
(file)
--- 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,
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
;
}
/* ------------------------------------------------------------------------ */