From: Sascha Hauer <sha@pengutronix.de>
To: Alexander Shiyan <eagle.alexander923@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/6] drivers: rtc: pcf8536: Remove redundant variable
Date: Wed, 29 Jun 2022 09:33:04 +0200 [thread overview]
Message-ID: <20220629073304.GR19026@pengutronix.de> (raw)
In-Reply-To: <20220629063024.3945-1-eagle.alexander923@gmail.com>
On Wed, Jun 29, 2022 at 09:30:19AM +0300, Alexander Shiyan wrote:
> Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
> ---
> drivers/rtc/rtc-pcf85363.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
Applied, thanks
Sascha
>
> diff --git a/drivers/rtc/rtc-pcf85363.c b/drivers/rtc/rtc-pcf85363.c
> index 7b785d6a77..b9f0fc6012 100644
> --- a/drivers/rtc/rtc-pcf85363.c
> +++ b/drivers/rtc/rtc-pcf85363.c
> @@ -131,7 +131,6 @@ static int pcf85363_probe(struct device_d *dev)
> struct i2c_client *client = to_i2c_client(dev);
> struct pcf85363 *pcf85363;
> struct regmap *regmap;
> - int ret;
>
> regmap = regmap_init_i2c(client,
> &pcf85363_regmap_i2c_config);
> @@ -147,9 +146,7 @@ static int pcf85363_probe(struct device_d *dev)
> pcf85363->rtc.ops = &rtc_ops;
> pcf85363->rtc.dev = dev;
>
> - ret = rtc_register(&pcf85363->rtc);
> -
> - return ret;
> + return rtc_register(&pcf85363->rtc);
> }
>
> static struct platform_device_id dev_ids[] = {
> --
> 2.32.0
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2022-06-29 7:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-29 6:30 Alexander Shiyan
2022-06-29 6:30 ` [PATCH 2/6] drivers: rtc: abracon: " Alexander Shiyan
2022-06-29 6:30 ` [PATCH 3/6] drivers: regulator: fixed: Fix error path in probe Alexander Shiyan
2022-06-29 6:30 ` [PATCH 4/6] drivers: pwm: imx: Remove redundant assignment Alexander Shiyan
2022-06-29 6:30 ` [PATCH 5/6] drivers: gpio: pcf857x: " Alexander Shiyan
2022-06-29 6:30 ` [PATCH 6/6] drivers: led: pca955x: " Alexander Shiyan
2022-06-29 7:33 ` Sascha Hauer [this message]
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=20220629073304.GR19026@pengutronix.de \
--to=sha@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=eagle.alexander923@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox