linux/drivers/staging
Jonathan Cameron a9e39f9e80 staging:iio: move id and device name setting to iio_device_allocate.
The recent reorganization of the sysfs attribute registration had
the side effect of moving iio_device_register after registration of
triggers etc.  The side effect of this is that the id hadn't been
allocated by the time of trigger registration. Thus all triggers
based on device got the name <dev_name>-dev0 instead of <dev_name>-devN
where N is the iio device id.

This should also fix the lack of device name for some error messages
that we have been seeing (and I'd been meaning to track down) as
that has now moved earlier as well.

Reported-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Tested-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
History 2011-09-16 20:32:00 +02:00
..
altera-stapl staging: Add module.h to drivers/staging users 2011-08-25 17:01:20 -07:00
asus_oled Staging: Merge 2.6.37-rc5 into staging-next 2010-12-07 10:47:56 -08:00
bcm Staging: bcm: Macros: Fixed multiple coding style violations. 2011-08-23 15:21:23 -07:00
brcm80211 staging: brcm80211: remove static function declaration in wl_cfg80211 2011-09-12 16:55:47 +02:00
comedi staging: comedi: new driver usbduxsigma 2011-08-23 12:00:45 -07:00
cptm1217 drivers/staging/cptm1217/clearpad_tm1217.c: Correct call to input_free_device 2011-05-18 14:30:49 -07:00
crystalhd staging: crystalhd/bc_dts_types.h: typedef cleanup 2011-09-16 20:12:56 +02:00
cx25821 staging: irq: Remove IRQF_DISABLED 2011-09-16 20:09:38 +02:00
cxd2099 drivers/staging: do not use EXTRA_CFLAGS 2011-08-23 15:24:46 -07:00
cxt1e1 staging: irq: Remove IRQF_DISABLED 2011-09-16 20:09:38 +02:00
dt3155v4l staging: dt3155v4l: remove irq_handler from struct dt3155_priv 2011-09-09 13:33:19 -07:00
easycap staging/easycap: fix mismatch in easycap_poll() mutex lock-unlock 2011-08-29 11:20:11 -07:00
echo drivers: staging: echo: Fix coding style issues. 2011-07-05 20:37:37 -07:00
et131x staging: et131x: Update README file 2011-09-06 16:54:59 -07:00
frontier Staging: Merge 2.6.37-rc5 into staging-next 2010-12-07 10:47:56 -08:00
ft1000 staging: ft1000: dont cast void* from kmalloc() 2011-08-23 15:22:57 -07:00
gma500 gma500: Fix up suspend/resume 2011-08-26 10:46:44 -07:00
go7007 Staging: go7007: fix braces coding style issue in wis-tw2804.c 2011-08-23 15:26:19 -07:00
hv Staging: hv: netvsc: Cleanup the name and type of link_stat variable 2011-09-16 20:07:19 +02:00
iio staging:iio: move id and device name setting to iio_device_allocate. 2011-09-16 20:32:00 +02:00
intel_sst staging: intel_sst: fix comment typo 2011-09-12 16:59:13 +02:00
keucr Staging: keucr: fix comments, braces, whitespaces coding style issue in tm6000.h 2011-08-23 14:38:45 -07:00
line6 drivers/staging/line6/driver.c: Drop unneeded put functions. 2011-05-17 13:31:32 -07:00
lirc staging: irq: Remove IRQF_DISABLED 2011-09-16 20:09:38 +02:00
mei staging: mei: adding watchdog core dependency to kconfig 2011-09-09 13:28:21 -07:00
nvec staging: nvec: convert to use platform register and mfdcells 2011-08-24 14:25:30 -07:00
octeon staging: octeon-ethernet: Add missing #includes. 2011-08-23 15:35:16 -07:00
olpc_dcon staging: Add module.h to drivers/staging users 2011-08-25 17:01:20 -07:00
panel staging: panel: Fixed checkpatch warning about simple_strtoul() 2011-09-06 16:49:29 -07:00
phison Staging: phison: use DEFINE_PCI_DEVICE_TABLE 2010-12-09 16:29:48 -08:00
pohmelfs Staging: pohmelfs: Coding style fixes in trans.c 2011-08-23 14:25:04 -07:00
quatech_usb2 Fix common misspellings 2011-03-31 11:26:23 -03:00
quickstart Staging: quickstart: fixed coding style issues 2011-02-09 12:11:55 -08:00
rtl8187se drivers/staging: do not use EXTRA_CFLAGS 2011-08-23 15:24:46 -07:00
rtl8192e staging: rtl8192e: Fix format warning 2011-09-06 16:53:38 -07:00
rtl8192u drivers/staging/rtl8192u: Don't pass huge struct by value 2011-08-23 14:46:05 -07:00
rtl8712 staging: r8712u: Most return-values changed from -1 to proper errno macros. 2011-09-06 17:00:36 -07:00
rts5139 staging: fix rts5139 depends & build 2011-08-26 11:35:54 -07:00
rts_pstor drivers/staging: do not use EXTRA_CFLAGS 2011-08-23 15:24:46 -07:00
sbe-2t3e3 Staging: sbe-2t3e3: redundant null check before kfree() 2011-04-20 13:45:57 -07:00
sep staging: sep: call to sep_ioctl() may leave driver in unusable state 2011-09-06 16:49:29 -07:00
serqt_usb2 staging: serqt_usb2: remove ssu100 from supported devices 2011-08-29 11:20:11 -07:00
slicoss Fix common misspellings 2011-03-31 11:26:23 -03:00
sm7xx staging: Add module.h to drivers/staging users 2011-08-25 17:01:20 -07:00
solo6x10 drivers:staging:solo6x10:add the missed slab.h 2011-08-03 07:44:38 -07:00
speakup drivers/staging/speakup/devsynth.c: fix "buffer size is not provably correct" error 2011-08-02 16:09:46 -07:00
spectra staging: spectra: Use memdup_user 2011-08-23 15:22:58 -07:00
ste_rmi4 staging: Add module.h to drivers/staging users 2011-08-25 17:01:20 -07:00
tidspbridge Merge 3.1-rc4 into staging-next 2011-08-29 08:47:46 -07:00
tm6000 Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-07-30 00:08:53 -07:00
usbip staging: Add module.h to drivers/staging users 2011-08-25 17:01:20 -07:00
vme staging: vme: change static device array to pointers 2011-09-09 13:26:32 -07:00
vt6655 staging: vt6655: simplify MAC printing by using %pM 2011-08-23 14:36:17 -07:00
vt6656 staging: vt6656: use %pM for printing MACs 2011-08-23 14:36:18 -07:00
winbond Staging : winbond : fix coding style issue in phy_calibration.c 2011-08-23 15:24:46 -07:00
wlags49_h2 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-07-26 15:52:24 -05:00
wlags49_h25 Fix common misspellings 2011-03-31 11:26:23 -03:00
wlan-ng Remove unneeded version.h include from drivers/staging/wlan-ng/prism2sta.c 2011-07-05 10:39:38 -07:00
xgifb staging: xgifb: update TODO 2011-09-16 20:16:48 +02:00
zcache Merge 3.1-rc4 into staging-next 2011-08-29 08:47:46 -07:00
zram zram: Fix sparse warnings 2011-09-09 16:09:50 -07:00
Kconfig staging: remove ath6kl 2011-08-23 14:27:49 -07:00
Makefile staging: remove ath6kl 2011-08-23 14:27:49 -07:00
staging.c Staging: workaround build system bug 2008-10-13 14:32:52 -07:00