linux/drivers/video/via
Florian Tobias Schandinat 2fed547c02 viafb: fix proc entry removal
viafb: fix proc entry removal

Trying to remove unregistered proc entries became painful and is
useless anyway. So remove the removal of an entry that was never
registered and duplicate the logic for one which is added
conditionally. Additionally move the removal above releasing fb_info
as we still need the information.
This prevents tainting the kernel by the procfs warn on and
avoiding access to already freed memory is probably also a good idea.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
2010-05-07 17:17:39 -06:00
..
accel.c viafb: Reserve framebuffer memory for the upcoming camera driver 2010-05-07 17:17:38 -06:00
accel.h viafb: complete support for VX800/VX855 accelerated framebuffer 2010-04-20 14:23:20 -06:00
chip.h viafb: Determine type of 2D engine and store it in chip_info 2010-04-20 14:23:19 -06:00
debug.h viafb: chip.h, debug.h 2008-10-16 11:21:41 -07:00
dvi.c viafb: Separate global and fb-specific data 2010-05-07 17:16:02 -06:00
dvi.h viafb: some dvi cleanup 2010-03-12 15:52:33 -08:00
global.c viafb: make some variables a bit less global 2010-03-12 15:52:33 -08:00
global.h viafb: Separate global and fb-specific data 2010-05-07 17:16:02 -06:00
hw.c viafb: improve misc register handling 2010-05-07 17:17:39 -06:00
hw.h viafb: move some modesetting functions to a seperate file 2010-05-07 17:17:38 -06:00
ioctl.c viafb: iface.c, iface.h, ioctl.c, ioctl.h 2008-10-16 11:21:41 -07:00
ioctl.h viafb: Add 1200x900 DCON/LCD panel modes for OLPC XO-1.5 2010-04-20 14:23:20 -06:00
lcd.c viafb: Separate global and fb-specific data 2010-05-07 17:16:02 -06:00
lcd.h viafb: Add 1200x900 DCON/LCD panel modes for OLPC XO-1.5 2010-04-20 14:23:20 -06:00
lcdtbl.h viafb: lcd.c, lcd.h, lcdtbl.h 2008-10-16 11:21:41 -07:00
Makefile viafb: move some modesetting functions to a seperate file 2010-05-07 17:17:38 -06:00
share.h viafb: improve misc register handling 2010-05-07 17:17:39 -06:00
tbl1636.c viafb: tbl1636.c, tbl1636.h, tblDPASetting.c, tblDPASetting.h 2008-10-16 11:21:41 -07:00
tbl1636.h viafb: tbl1636.c, tbl1636.h, tblDPASetting.c, tblDPASetting.h 2008-10-16 11:21:41 -07:00
tblDPASetting.c viafb: tbl1636.c, tbl1636.h, tblDPASetting.c, tblDPASetting.h 2008-10-16 11:21:41 -07:00
tblDPASetting.h viafb: tbl1636.c, tbl1636.h, tblDPASetting.c, tblDPASetting.h 2008-10-16 11:21:41 -07:00
via_i2c.c viafb: Introduce viafb_find_i2c_adapter() 2010-05-07 17:17:37 -06:00
via_i2c.h viafb: Introduce viafb_find_i2c_adapter() 2010-05-07 17:17:37 -06:00
via_io.h viafb: improve misc register handling 2010-05-07 17:17:39 -06:00
via_modesetting.c viafb: move some modesetting functions to a seperate file 2010-05-07 17:17:38 -06:00
via_modesetting.h viafb: move some modesetting functions to a seperate file 2010-05-07 17:17:38 -06:00
via_utility.c viafb: remove dead code 2010-03-12 15:52:33 -08:00
via_utility.h viafb: remove dead code 2010-03-12 15:52:33 -08:00
via-core.c viafb: Add a simple VX855 DMA engine driver 2010-05-07 17:17:38 -06:00
via-core.h viafb: Reserve framebuffer memory for the upcoming camera driver 2010-05-07 17:17:38 -06:00
via-gpio.c viafb: Turn GPIO and i2c into proper platform devices 2010-05-07 17:17:37 -06:00
via-gpio.h viafb: Turn GPIO and i2c into proper platform devices 2010-05-07 17:17:37 -06:00
viafbdev.c viafb: fix proc entry removal 2010-05-07 17:17:39 -06:00
viafbdev.h viafb: Separate global and fb-specific data 2010-05-07 17:16:02 -06:00
viamode.c viafb: Add 1200x900 DCON/LCD panel modes for OLPC XO-1.5 2010-04-20 14:23:20 -06:00
viamode.h viafb: split global index up 2010-03-12 15:52:33 -08:00
vt1636.c via: Rationalize vt1636 detection 2010-05-07 17:17:38 -06:00
vt1636.h viafb: rework the I2C support in the VIA framebuffer driver 2010-04-27 13:01:45 -06:00