diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2011-04-03 14:54:06 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-04-06 18:49:53 +0200 |
commit | 787dffa5c790fdae40a0706e0b3847e31282eb3b (patch) | |
tree | 6e3961a75b1f7c130e9c1bbff17dac9d9fe9228b /drivers/video/savage | |
parent | savagefb: Set up I2C based on chip family instead of card id (diff) | |
download | linux-787dffa5c790fdae40a0706e0b3847e31282eb3b.tar.xz linux-787dffa5c790fdae40a0706e0b3847e31282eb3b.zip |
savagefb: Remove obsolete else clause in savage_setup_i2c_bus
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>
Diffstat (limited to 'drivers/video/savage')
-rw-r--r-- | drivers/video/savage/savagefb-i2c.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/savage/savagefb-i2c.c b/drivers/video/savage/savagefb-i2c.c index 5e7acda2ba90..bb71fea07284 100644 --- 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; } |