linux/drivers/staging
Kim, Milo d9a861d55e staging: android: timed_output : disable the timed output device when the device is unregistered
(Life cycle of timed output device driver)

1) register the device as the timed output
2) enable() ops is called via the sysfs
   timeout > 0 : timer is activated and device is turned on
   timeout = 0 : timer is cancelled and device is off
3) unregister the timed output device if not used any more

So the registered device should be disabled explicitly when the module is removed.
('disabled' means the timer is stopped and the device is turned off)

Rather than implementing that code in each driver,
just call enable() with timeout = 0 to clean up the driver.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Cc: Mike Lockwood <lockwood@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-29 21:36:35 -04:00
..
android staging: android: timed_output : disable the timed output device when the device is unregistered 2012-04-29 21:36:35 -04:00
asus_oled staging: asus_oled.c: remove err() usage 2012-04-23 16:45:54 -07:00
bcm staging: replace open-coded ARRAY_SIZEs 2012-04-10 15:25:55 -07:00
comedi staging: comedi: resolve section mismatch in s626 2012-04-24 11:43:59 -07:00
cptm1217
crystalhd Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
cxt1e1 Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging 2012-01-09 12:18:17 -08:00
echo
et131x Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
frontier staging: frontier: alphatrack.c: remove err() usage 2012-04-23 16:46:11 -07:00
ft1000 Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
iio iio: core: iio_chan_spec_ext_info: Add private handle 2012-04-29 21:26:17 -04:00
keucr USB merge for 3.4-rc1 2012-03-20 11:26:30 -07:00
line6 staging: line6: toneport.c: remove err() usage 2012-04-23 16:46:04 -07:00
media Staging: media: lirc: lirc_ttusbir: remove err() usage 2012-04-24 09:03:48 -07:00
mei staging/mei: wd.c normalize debug and error messages 2012-04-10 09:38:50 -07:00
net NET: pc300, move to staging as it is broken 2012-04-13 10:57:04 -07:00
nvec staging:nvec:nvec.h Fix typos in staging:nvec 2012-04-10 09:29:21 -07:00
octeon staging:octeon Fix typos in staging:octeon 2012-04-10 09:47:05 -07:00
olpc_dcon staging: olpc_dcon.c: Remove a few spaces between casts and variables 2012-04-24 11:33:22 -07:00
omapdrm staging: drm/omap: dmabuf/prime support 2012-04-10 11:25:59 -07:00
ozwpan staging: ozwpan: Fix bug where kfree is called twice. 2012-04-25 17:30:42 -07:00
panel staging:panel:panel.c Fix typo in staging:panel 2012-04-10 09:29:21 -07:00
phison
quatech_usb2 Staging: quatech_usb3: remove err() usage 2012-04-24 09:04:42 -07:00
quickstart Staging: quickstart: Fix compilation warning on 64 bit arch 2012-02-13 20:08:56 -08:00
ramster staging:ramster Fix typos in staging:ramster 2012-04-10 10:31:01 -07:00
rtl8187se Staging: rtl8187se: Fix typos. 2012-04-18 16:58:16 -07:00
rtl8192e staging: rtl8192e: Fix typos. 2012-04-24 11:28:24 -07:00
rtl8192u drivers/staging/rtl8192u/ieee80211/ieee80211_module.c: add missing free_netdev 2012-04-24 11:28:25 -07:00
rtl8712 drivers: staging: rtl8172: Remove unneeded include of version.h 2012-04-18 16:59:03 -07:00
rts5139 Staging: rts5139: a couple off by one fixes 2012-04-10 10:31:00 -07:00
rts_pstor Staging:rts_pstor: fix coding style issue in rtsx_transport.c 2012-04-10 09:47:06 -07:00
sbe-2t3e3 Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
sep staging, sep: Fix typo in sep 2012-04-24 11:28:24 -07:00
serqt_usb2 Staging: serqt_usb2: remove err() usage 2012-04-24 09:05:21 -07:00
slicoss staging: clean up Greg's email address in some TODO files 2012-02-15 14:45:40 -08:00
sm7xx staging: sm7xx: rename function 2012-04-29 21:32:20 -04:00
speakup TTY: speakup, do not use serialP 2012-03-08 11:47:02 -08:00
ste_rmi4 ARM: More device tree support updates 2012-03-28 12:34:33 -07:00
telephony staging/telephony/ixj.c: delete trailing whitespace 2012-04-10 10:27:58 -07:00
tidspbridge staging: Fix typo in multiple files 2012-04-10 10:31:01 -07:00
usbip staging: Fix typo in multiple files 2012-04-10 10:31:01 -07:00
vme Staging: VME: move VME drivers out of staging 2012-04-26 12:34:58 -07:00
vt6655 staging: replace open-coded ARRAY_SIZEs 2012-04-10 15:25:55 -07:00
vt6656 staging: vt6656: trivial whitespace cleanups to ioctl.c 2012-04-24 11:37:23 -07:00
winbond
wlags49_h2 drivers/staging/wlags49_h2/wl_pci.c: add missing wl_device_dealloc and wl_remove 2012-04-20 08:31:49 -07:00
wlags49_h25
wlan-ng staging: wlan-ng: Release struct returned by cfg80211_inform_bss to avoid potential memory leak. 2012-04-24 11:28:25 -07:00
xgifb staging: xgifb: inline XGI_GetResInfo() 2012-04-10 10:20:09 -07:00
zcache Cleanups: rename of flush to invalidate, moving reporting of statistics 2012-03-22 19:52:47 -07:00
zram Merge branch 'kmap_atomic' of git://github.com/congwang/linux 2012-03-21 09:40:26 -07:00
zsmalloc zsmalloc: use PageFlag macro instead of [set|test]_bit 2012-04-25 10:59:16 -07:00
Kconfig Staging: VME: move VME drivers out of staging 2012-04-26 12:34:58 -07:00
Makefile NET: pc300, move to staging as it is broken 2012-04-13 10:57:04 -07:00
staging.c