diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-10-20 13:42:03 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-18 15:08:15 +0300 |
commit | ce8591ff023ef8e04750c2cc2882523619a80b58 (patch) | |
tree | a513137f48890cd4ef0e51966666b4398d2bb747 /drivers/media/usb/em28xx/em28xx.h | |
parent | 39ad799a85e2afb2eeb0295cabe81e183b011b95 (diff) | |
download | linux-ce8591ff023ef8e04750c2cc2882523619a80b58.tar.xz |
[media] em28xx: convert it from pr_foo() to dev_foo()
Instead of using pr_foo(), use dev_foo(), with provides a
better output. As this device is a multi-interface one,
we'll set the device name to show the chipset and the driver
used.
While here, get rid of printk continuation messages.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx.h')
-rw-r--r-- | drivers/media/usb/em28xx/em28xx.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/usb/em28xx/em28xx.h b/drivers/media/usb/em28xx/em28xx.h index 0f6830f5078b..3e5ace497a4e 100644 --- a/drivers/media/usb/em28xx/em28xx.h +++ b/drivers/media/usb/em28xx/em28xx.h @@ -29,8 +29,6 @@ #define EM28XX_VERSION "0.2.2" #define DRIVER_DESC "Empia em28xx device driver" -#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt - #include <linux/workqueue.h> #include <linux/i2c.h> #include <linux/mutex.h> @@ -612,7 +610,6 @@ struct em28xx { struct em28xx_IR *ir; /* generic device properties */ - char name[30]; /* name (including minor) of the device */ int model; /* index in the device_data struct */ int devno; /* marks the number of this device */ enum em28xx_chip_id chip_id; |