kernel-fxtec-pro1x/drivers/media/video/pvrusb2
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
..
Kconfig V4L/DVB (9885): drivers/media Kconfig's: fix bugzilla #12204 2008-12-16 16:43:59 -02:00
Makefile
pvrusb2-audio.c
pvrusb2-audio.h
pvrusb2-context.c
pvrusb2-context.h
pvrusb2-ctrl.c V4L/DVB (8902): pvrusb2: Remove comment lines which refer to checkpatch's behavior 2008-10-12 09:36:58 -02:00
pvrusb2-ctrl.h V4L/DVB (8898): pvrusb2: Be able to programmatically retrieve a control's default value 2008-10-12 09:36:57 -02:00
pvrusb2-cx2584x-v4l.c
pvrusb2-cx2584x-v4l.h
pvrusb2-debug.h
pvrusb2-debugifc.c
pvrusb2-debugifc.h
pvrusb2-devattr.c
pvrusb2-devattr.h
pvrusb2-dvb.c
pvrusb2-dvb.h
pvrusb2-eeprom.c
pvrusb2-eeprom.h
pvrusb2-encoder.c V4L/DVB (9301): pvrusb2: Keep MPEG PTSs from drifting away 2008-10-21 14:21:01 -02:00
pvrusb2-encoder.h
pvrusb2-fx2-cmd.h
pvrusb2-hdw-internal.h V4L/DVB (8900): pvrusb2: Implement cropping pass through 2008-10-12 09:36:57 -02:00
pvrusb2-hdw.c V4L/DVB (9521): V4L: struct device - replace bus_id with dev_name(), dev_set_name() 2008-12-29 17:53:26 -02:00
pvrusb2-hdw.h V4L/DVB (8900): pvrusb2: Implement cropping pass through 2008-10-12 09:36:57 -02:00
pvrusb2-i2c-chips-v4l2.c V4L/DVB (8896): pvrusb2: Implement crop support 2008-10-12 09:36:57 -02:00
pvrusb2-i2c-cmd-v4l2.c V4L/DVB (8902): pvrusb2: Remove comment lines which refer to checkpatch's behavior 2008-10-12 09:36:58 -02:00
pvrusb2-i2c-cmd-v4l2.h V4L/DVB (8896): pvrusb2: Implement crop support 2008-10-12 09:36:57 -02:00
pvrusb2-i2c-core.c V4L/DVB (8906): v4l-dvb: fix assorted sparse warnings 2008-10-12 09:36:58 -02:00
pvrusb2-i2c-core.h
pvrusb2-io.c
pvrusb2-io.h
pvrusb2-ioread.c
pvrusb2-ioread.h
pvrusb2-main.c V4L/DVB (9116): USB: remove info() macro from usb media drivers 2008-10-12 09:37:14 -02:00
pvrusb2-std.c
pvrusb2-std.h
pvrusb2-sysfs.c V4L/DVB (9521): V4L: struct device - replace bus_id with dev_name(), dev_set_name() 2008-12-29 17:53:26 -02:00
pvrusb2-sysfs.h
pvrusb2-tuner.c
pvrusb2-tuner.h
pvrusb2-util.h
pvrusb2-v4l2.c V4L/DVB (9503): v4l: remove inode argument from video_usercopy 2008-12-29 17:53:26 -02:00
pvrusb2-v4l2.h
pvrusb2-video-v4l.c
pvrusb2-video-v4l.h
pvrusb2-wm8775.c
pvrusb2-wm8775.h
pvrusb2.h