From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-media@vger.kernel.org,
Sylwester Nawrocki <s.nawrocki@samsung.com>,
Andrzej Hajda <andrzej.hajda@intel.com>,
Krzysztof Kozlowski <krzk@kernel.org>,
Alim Akhtar <alim.akhtar@samsung.com>,
Tommaso Merciai <tommaso.merciai@amarulasolutions.com>
Subject: Re: [PATCH v5] media: s5k4ecgx: Switch to GPIO descriptors
Date: Mon, 24 Oct 2022 04:46:05 -0700 [thread overview]
Message-ID: <Y1Z6/WuC76wnAde4@google.com> (raw)
In-Reply-To: <20221024111523.7289-1-linus.walleij@linaro.org>
Hi Linus,
On Mon, Oct 24, 2022 at 01:15:23PM +0200, Linus Walleij wrote:
> diff --git a/include/media/i2c/s5k4ecgx.h b/include/media/i2c/s5k4ecgx.h
> deleted file mode 100644
> index 92202eb35249..000000000000
> --- a/include/media/i2c/s5k4ecgx.h
> +++ /dev/null
> @@ -1,33 +0,0 @@
> -/* SPDX-License-Identifier: GPL-2.0-or-later */
> -/*
> - * S5K4ECGX image sensor header file
> - *
> - * Copyright (C) 2012, Linaro
> - * Copyright (C) 2012, Samsung Electronics Co., Ltd.
> - */
> -
> -#ifndef S5K4ECGX_H
> -#define S5K4ECGX_H
> -
> -/**
> - * struct s5k4ecgx_gpio - data structure describing a GPIO
> - * @gpio: GPIO number
> - * @level: indicates active state of the @gpio
> - */
> -struct s5k4ecgx_gpio {
> - int gpio;
> - int level;
> -};
> -
> -/**
> - * struct s5k4ecgx_platform_data - s5k4ecgx driver platform data
> - * @gpio_reset: GPIO driving RESET pin
> - * @gpio_stby: GPIO driving STBY pin
> - */
> -
> -struct s5k4ecgx_platform_data {
> - struct s5k4ecgx_gpio gpio_reset;
> - struct s5k4ecgx_gpio gpio_stby;
> -};
> -
> -#endif /* S5K4ECGX_H */
If you are removing support for the platform data (since there are no
users in mainline) and the driver does not have OF support maybe it
should be removed altogether?
Thanks.
--
Dmitry
next prev parent reply other threads:[~2022-10-24 13:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-24 11:15 [PATCH v5] media: s5k4ecgx: Switch to GPIO descriptors Linus Walleij
2022-10-24 11:46 ` Dmitry Torokhov [this message]
2022-10-24 12:03 ` Andrzej Hajda
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=Y1Z6/WuC76wnAde4@google.com \
--to=dmitry.torokhov@gmail.com \
--cc=alim.akhtar@samsung.com \
--cc=andrzej.hajda@intel.com \
--cc=krzk@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=s.nawrocki@samsung.com \
--cc=tommaso.merciai@amarulasolutions.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.