From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: linux-media@vger.kernel.org,
Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
Sakari Ailus <sakari.ailus@iki.fi>,
Sylwester Nawrocki <snawrocki@kernel.org>,
Hans Verkuil <hans.verkuil@cisco.com>
Subject: Re: [PATCHv2 5/5] media-device: remove driver_version
Date: Fri, 21 Jul 2017 21:22:32 +0300 [thread overview]
Message-ID: <3175888.CNfFgnaNvG@avalon> (raw)
In-Reply-To: <20170721105706.40703-6-hverkuil@xs4all.nl>
Hi Hans,
Thank you for the patch.
On Friday 21 Jul 2017 12:57:06 Hans Verkuil wrote:
> From: Hans Verkuil <hans.verkuil@cisco.com>
>
> Since the driver_version field in struct media_device is no longer
> used, just remove it.
>
> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> drivers/media/media-device.c | 3 ---
> include/media/media-device.h | 2 --
> 2 files changed, 5 deletions(-)
>
> diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c
> index 7ff8e2d5bb07..979e4307d248 100644
> --- a/drivers/media/media-device.c
> +++ b/drivers/media/media-device.c
> @@ -833,8 +833,6 @@ void media_device_pci_init(struct media_device *mdev,
> mdev->hw_revision = (pci_dev->subsystem_vendor << 16)
>
> | pci_dev->subsystem_device;
>
> - mdev->driver_version = LINUX_VERSION_CODE;
> -
> media_device_init(mdev);
> }
> EXPORT_SYMBOL_GPL(media_device_pci_init);
> @@ -862,7 +860,6 @@ void __media_device_usb_init(struct media_device *mdev,
> strlcpy(mdev->serial, udev->serial, sizeof(mdev->serial));
> usb_make_path(udev, mdev->bus_info, sizeof(mdev->bus_info));
> mdev->hw_revision = le16_to_cpu(udev->descriptor.bcdDevice);
> - mdev->driver_version = LINUX_VERSION_CODE;
>
> media_device_init(mdev);
> }
> diff --git a/include/media/media-device.h b/include/media/media-device.h
> index 6896266031b9..7d268802cc2e 100644
> --- a/include/media/media-device.h
> +++ b/include/media/media-device.h
> @@ -68,7 +68,6 @@ struct media_device_ops {
> * @serial: Device serial number (optional)
> * @bus_info: Unique and stable device location identifier
> * @hw_revision: Hardware device revision
> - * @driver_version: Device driver version
> * @topology_version: Monotonic counter for storing the version of the
> graph * topology. Should be incremented each time the topology
changes. *
> @id: Unique ID used on the last registered graph object
> @@ -134,7 +133,6 @@ struct media_device {
> char serial[40];
> char bus_info[32];
> u32 hw_revision;
> - u32 driver_version;
>
> u64 topology_version;
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2017-07-21 18:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-21 10:57 [PATCHv2 0/5] media: drop driver_version from media_device Hans Verkuil
2017-07-21 10:57 ` [PATCHv2 1/5] media-device: set driver_version directly Hans Verkuil
2017-07-21 11:06 ` Hans Verkuil
2017-07-21 18:20 ` Laurent Pinchart
2017-07-21 18:21 ` Laurent Pinchart
2017-07-21 10:57 ` [PATCHv2 2/5] s3c-camif: don't set driver_version Hans Verkuil
2017-07-22 6:52 ` Sylwester Nawrocki
2017-07-21 10:57 ` [PATCHv2 3/5] uvc: " Hans Verkuil
2017-07-21 10:57 ` [PATCHv2 4/5] atomisp2: " Hans Verkuil
2017-07-21 10:57 ` [PATCHv2 5/5] media-device: remove driver_version Hans Verkuil
2017-07-21 18:22 ` Laurent Pinchart [this message]
2017-07-22 6:52 ` Sylwester Nawrocki
2017-07-22 11:16 ` Sylwester Nawrocki
2017-07-22 11:31 ` Hans Verkuil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3175888.CNfFgnaNvG@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=hans.verkuil@cisco.com \
--cc=hverkuil@xs4all.nl \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=sakari.ailus@iki.fi \
--cc=snawrocki@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox