linux/drivers/staging
H Hartley Sweeten 316f97f169 staging: comedi: drivers: introduce comedi_legacy_detach()
This function is intended to be used by the comedi legacy (ISA) drivers
either directly as the (*detach) function or as a helper in the drivers
private (*detach) function.

Modify the comedi_request_region() helper so that it stores the 'len' of
the region as well as the 'start' after the region has been successfuly
allocated by request_region() in __comedi_request_region(). This region
will then be automatically released detach of the driver by the
comedi_legacy_detach() helper.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-04-19 11:19:52 -07:00
..
android staging: android: binder: replace IOCTL types with user-exportable types 2013-04-11 08:51:51 -07:00
asus_oled
bcm Staging: bcm: Fix spelling error in PHSModule.c 2013-03-11 09:16:35 -07:00
ced1401
comedi staging: comedi: drivers: introduce comedi_legacy_detach() 2013-04-19 11:19:52 -07:00
cptm1217 staging: cptm1217: Use dev_pm_ops 2013-04-08 10:20:16 -07:00
crystalhd
csr staging:csr: Fix typo in staging/csr driver 2013-04-08 10:22:50 -07:00
cxt1e1 Drivers: Staging: cxt1e1: strncpy issue, need set zero at the end. 2013-04-08 10:32:53 -07:00
dgrp staging: dgrp: implement error handling in dgrp_create_class_sysfs_files() 2013-04-05 14:24:11 -07:00
dwc2 staging: dwc2: fix error return code in dwc2_hcd_init() 2013-04-12 15:09:59 -07:00
echo
et131x staging: et131x: cancel_work when module gets unloaded 2013-04-11 13:07:05 -07:00
frontier
ft1000 Staging tree update for 3.9-rc1 2013-02-21 12:11:44 -08:00
fwserial staging/fwserial: Replace seq_printf with seq_puts 2013-04-08 10:32:53 -07:00
gdm72xx staging: gdm72xx: cancel work when driver unloads 2013-04-15 10:06:33 -07:00
goldfish
iio staging:iio:dummy: Fix mismatch and export sysfs entry 2013-04-09 18:29:52 +01:00
imx-drm staging: drm/imx: update TODO file 2013-04-11 12:56:10 -07:00
keucr
line6 staging: line6: pod.c: fix checkpatch warning 2013-03-11 09:47:13 -07:00
media staging: davinci: Fix typo in staging/media/davinci 2013-03-26 16:13:21 -07:00
netlogic Staging: netlogic: remove unused variable in xlr_net_start_xmit() 2013-03-14 15:03:56 -07:00
nvec staging: nvec: fix the '&&' vs '&' typo in nvec_toggle_global_events() 2013-03-25 11:02:55 -07:00
octeon Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-02-21 17:40:58 -08:00
olpc_dcon staging: olpc_dcon: return NOTIFY_DONE instead of the 0. 2013-03-25 11:02:55 -07:00
ozwpan staging/ozwpan: Mark read only parameters and structs as const 2013-02-15 15:14:30 -08:00
panel staging/panel: Mark local functions/structs static and add const if applicable (fix sparse warnings) 2013-02-15 10:20:14 -08:00
phison
quickstart
rtl8187se staging/rtl8187se: Mark functions as static to silence sparse 2013-02-15 10:28:37 -08:00
rtl8192e
rtl8192u staging: rtl8192u: fix coding style 2013-03-28 16:07:25 -07:00
rtl8712 rtl8712: remove redundant if statement 2013-03-11 09:49:55 -07:00
rts5139 staging: rts5129: re-use kbasename() 2013-04-19 11:17:15 -07:00
sb105x staging: sb105x: Fix typo in comments and printk 2013-03-25 11:17:33 -07:00
sbe-2t3e3
sep staging: sep: Fix typo in printk within sep driver 2013-03-28 16:06:27 -07:00
serqt_usb2
silicom staging: silicom: Remove redundant NULL check before kfree 2013-03-11 09:43:44 -07:00
slicoss staging: slicoss: information leak in ETHTOOL_GSET 2013-04-05 14:17:00 -07:00
sm7xxfb staging/sm7xxfb: Convert to SIMPLE_DEV_PM_OPS 2013-03-11 09:23:43 -07:00
speakup staging: speakup: fix a bug when translate octal numbers 2013-04-09 12:36:43 -07:00
ste_rmi4 staging: ste_rmi4: Make synaptics_rmi4_touchpad_config symbol static 2013-03-25 11:06:09 -07:00
ti-soc-thermal staging: ti-soc-thermal: fix device removal 2013-04-08 10:35:09 -07:00
tidspbridge staging: tidspbridge: rmgr: proc.c: fix checkpatch errors 2013-03-25 11:02:56 -07:00
usbip staging: usbip: userspace: show product name in `list -l' command 2013-04-05 14:22:52 -07:00
vme staging: vme: fix for a potential NULL pointer dereference 2013-03-25 11:17:33 -07:00
vt6655 staging: vt6655: Remove unnecessary blank lines 2013-03-25 11:16:17 -07:00
vt6656 staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
winbond
wlags49_h2 Staging tree update for 3.9-rc1 2013-02-21 12:11:44 -08:00
wlags49_h25
wlan-ng staging: wlan-ng: prism2usb.c: fix printk(KERN_ERR... to dev_err(dev, ... 2013-03-26 16:13:20 -07:00
xgifb staging: xgifb: rename SR15/SR13 arrays to SR18 2013-03-28 16:10:16 -07:00
zcache staging: zcache/debug: fix coding style 2013-04-13 06:29:00 -07:00
zram zram: fix zram_bvec_read duplicate dump failure message and stat accumulation 2013-03-18 17:42:34 -07:00
zsmalloc staging: zsmalloc: Fix link error on ARM 2013-03-28 16:08:54 -07:00
Kconfig staging: net: remove pc300 driver 2013-04-19 11:15:20 -07:00
Makefile staging: net: remove pc300 driver 2013-04-19 11:15:20 -07:00
staging.c