linux/drivers/video/riva
Jean Delvare a65ff76ac8 rivafb/nvidiafb: Various cleanups
Various cleanups to rivafb/nvidiafb's I2C code:
* Drop useless par->bus.
* Refactor I2C bus deletion code.
* Drop useless variable initialization.
* Remove unneeded include of <linux/i2c-id.h>.
* Simplify +1/-1.
* Add __devinit tags where possible.

[adaplas]
The varible initialization are not useless. However, rivafb must
check if i2c bus are created properly before reading the EDID
block.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 11:15:28 -07:00
..
fbdev.c rivafb/nvidiafb: Various cleanups 2007-05-08 11:15:28 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nv_driver.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nv_type.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nvreg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
riva_hw.c [PATCH] atyfb, rivafb: minor fixes 2006-12-08 08:29:05 -08:00
riva_hw.h [PATCH] atyfb, rivafb: minor fixes 2006-12-08 08:29:05 -08:00
riva_tbl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rivafb-i2c.c rivafb/nvidiafb: Various cleanups 2007-05-08 11:15:28 -07:00
rivafb.h rivafb/nvidiafb: Various cleanups 2007-05-08 11:15:28 -07:00