Re: [PATCH] [media] em28xx: Show a warning if the board does not support remote controls
- Subject: Re: [PATCH] [media] em28xx: Show a warning if the board does not support remote controls
- From: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx>
- Date: Wed, 30 May 2012 00:24:30 +0200
- Cc: linux-media <linux-media@xxxxxxxxxxxxxxx>
- In-reply-to: <CAOMZO5AFVfXgWX=DwqALDLdLz-ZYRMipAegXeyxhDfCX2HN+RA@mail.gmail.com>
What would you use as the first (dev) argument for dev_*?
I simply tried using the USB-device (&dev->udev->dev) there, and I
think it's less
descriptive if one removes the driver name and the board number:
usb 1-1.2: Remote control support is not available for this device.
What do you think about using dev_warn but still including the driver name
and the board number?
On Tue, May 29, 2012 at 11:28 PM, Fabio Estevam <festevam@xxxxxxxxx> wrote:
> On Tue, May 29, 2012 at 6:26 PM, Martin Blumenstingl
> <martin.blumenstingl@xxxxxxxxxxxxxx> wrote:
>> Hello Fabio,
>>
>> I can use dev_err if you want.
>
> Or maybe dev_warn is better since this is a warning.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Input]
[Video for Linux]
[Mplayer Users]
[Linux USB Devel]
[Linux Audio Users]
[Photos]
[Yosemite Photos]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Devices]
[Yosemite Backpacking]