projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21cd72e
)
savagefb: Remove obsolete else clause in savage_setup_i2c_bus
author
Tormod Volden
<debian.tormod@gmail.com>
Sun, 3 Apr 2011 12:54:06 +0000
(12:54 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Wed, 6 Apr 2011 16:49:53 +0000
(09:49 -0700)
The else clause was not needed after the cleanup in commit
b8901b091db260b0f0101d6395ce5c6016835a47
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/savage/savagefb-i2c.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/savage/savagefb-i2c.c
b/drivers/video/savage/savagefb-i2c.c
index 5e7acda2ba9009f6a473dff49e5b17bb5fced057..bb71fea07284e547cbf2632141748b8155691a74 100644
(file)
--- a/
drivers/video/savage/savagefb-i2c.c
+++ b/
drivers/video/savage/savagefb-i2c.c
@@
-159,8
+159,7
@@
static int savage_setup_i2c_bus(struct savagefb_i2c_chan *chan,
else
dev_warn(&chan->par->pcidev->dev,
"Failed to register I2C bus %s.\n", name);
- } else
- chan->par = NULL;
+ }
return rc;
}