From: Lee Jones <lee.jones@linaro.org>
To: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Sangbeom Kim <sbkim73@samsung.com>,
Samuel Ortiz <sameo@linux.intel.com>,
Alessandro Zummo <a.zummo@towertech.it>,
linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com,
Kyungmin Park <kyungmin.park@samsung.com>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
Marek Szyprowski <m.szyprowski@samsung.com>
Subject: Re: [PATCH 2/2] mfd: sec: Cleanup unused RTC fields: ono, WTSR and SMPL
Date: Wed, 25 Feb 2015 15:30:38 +0000 [thread overview]
Message-ID: <20150225153038.GB6688@x1> (raw)
In-Reply-To: <20150225152921.GA6688@x1>
On Wed, 25 Feb 2015, Lee Jones wrote:
> On Fri, 06 Feb 2015, Krzysztof Kozlowski wrote:
>
> > The WTSR (Watchdog Timer Software Reset) and SMPL (Sudden Momentary
> > Power Loss) were removed from rtc-s5m driver because they were not used.
> > Remove them (and on/off interrupt) from main MFD driver and header.
> >
> > Additionally remove ENOMEM error message.
> >
> > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> > ---
> > drivers/mfd/sec-core.c | 5 +----
> > include/linux/mfd/samsung/core.h | 9 ---------
> > 2 files changed, 1 insertion(+), 13 deletions(-)
> >
> > diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c
> > index 0a7bc43db4e4..2253d44e631c 100644
> > --- a/drivers/mfd/sec-core.c
> > +++ b/drivers/mfd/sec-core.c
> > @@ -267,10 +267,8 @@ static struct sec_platform_data *sec_pmic_i2c_parse_dt_pdata(
> > struct sec_platform_data *pd;
> >
> > pd = devm_kzalloc(dev, sizeof(*pd), GFP_KERNEL);
> > - if (!pd) {
> > - dev_err(dev, "could not allocate memory for pdata\n");
> > + if (!pd)
> > return ERR_PTR(-ENOMEM);
> > - }
>
> This change doesn't have anything to do with removing the WTSR and
> SMPL.
>
> Once you've seperated this out, send both patches with my:
>
> Acked-by: Lee Jones <lee.jones@linaro.org>
Don't forget to send the RTC patch too, or I'll forget to apply it.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
prev parent reply other threads:[~2015-02-25 15:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-06 11:24 [PATCH 0/2] rtc/mfd: s5m: Small cleanup Krzysztof Kozlowski
2015-02-06 11:24 ` [PATCH 1/2] rtc: s5m: Remove unused watchdog and sudden momentary power loss Krzysztof Kozlowski
2015-02-06 11:24 ` [PATCH 2/2] mfd: sec: Cleanup unused RTC fields: ono, WTSR and SMPL Krzysztof Kozlowski
2015-02-24 7:50 ` Krzysztof Kozlowski
2015-02-24 10:20 ` Lee Jones
2015-02-25 15:29 ` Lee Jones
2015-02-25 15:30 ` Lee Jones [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=20150225153038.GB6688@x1 \
--to=lee.jones@linaro.org \
--cc=a.zummo@towertech.it \
--cc=b.zolnierkie@samsung.com \
--cc=k.kozlowski@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=rtc-linux@googlegroups.com \
--cc=sameo@linux.intel.com \
--cc=sbkim73@samsung.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.