linux-kernel-test/drivers/media/video/em28xx
Kay Sievers af128a102c V4L/DVB (9521): V4L: struct device - replace bus_id with dev_name(), dev_set_name()
This patch is part of a larger patch series which will remove
the "char bus_id[20]" name string from struct device. The device
name is managed in the kobject anyway, and without any size
limitation, and just needlessly copied into "struct device".

To set and read the device name dev_name(dev) and dev_set_name(dev)
must be used. If your code uses static kobjects, which it shouldn't
do, "const char *init_name" can be used to statically provide the
name the registered device should have. At registration time, the
init_name field is cleared, to enforce the use of dev_name(dev) to
access the device name at a later time.

We need to get rid of all occurrences of bus_id in the entire tree
to be able to enable the new interface. Please apply this patch,
and possibly convert any remaining remaining occurrences of bus_id.

We want to submit a patch to -next, which will remove bus_id from
"struct device", to find the remaining pieces to convert, and finally
switch over to the new api, which will remove the 20 bytes array
and does no longer have a size limitation.

Thanks,
Kay

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-29 17:53:26 -02:00
..
em28xx-audio.c em28xx: remove backward compat macro added on a previous fix 2008-12-01 18:04:14 -02:00
em28xx-cards.c V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
em28xx-core.c V4L/DVB (9647): em28xx: void having two concurrent control URB's 2008-11-20 17:20:14 -02:00
em28xx-dvb.c V4L/DVB (9155): em28xx-dvb: dvb_init() code factorization 2008-10-13 07:16:18 -02:00
em28xx-i2c.c V4L/DVB (9627): em28xx: Avoid i2c register error for boards without eeprom 2008-11-16 23:55:48 -02:00
em28xx-input.c V4L/DVB (8123): Add support for em2860 based PointNix Intra-Oral Camera 2008-07-20 07:12:48 -03:00
em28xx-reg.h V4L/DVB (8018): Add em2860 chip ID 2008-06-26 15:58:45 -03:00
em28xx-video.c V4L/DVB (9521): V4L: struct device - replace bus_id with dev_name(), dev_set_name() 2008-12-29 17:53:26 -02:00
em28xx.h V4L/DVB (9647): em28xx: void having two concurrent control URB's 2008-11-20 17:20:14 -02:00
Kconfig V4L/DVB (7848): Fix dependencies for tuner-xc2028 and em28xx-dvb 2008-05-14 02:54:07 -03:00
Makefile V4L/DVB(7767): Move tuners to common/tuners 2008-04-29 18:41:37 -03:00