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>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/3] mfd: sec: Cleanup unused RTC fields: ono, WTSR and SMPL
Date: Thu, 26 Feb 2015 11:01:19 +0000 [thread overview]
Message-ID: <20150226110119.GM6688@x1> (raw)
In-Reply-To: <1424942031-28370-2-git-send-email-k.kozlowski@samsung.com>
On Thu, 26 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.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
>
> ---
> Changes since v1:
> 1. Split out ENOMEM message removal to separate patch (suggested by
> Lee).
> ---
> drivers/mfd/sec-core.c | 1 -
> include/linux/mfd/samsung/core.h | 9 ---------
> 2 files changed, 10 deletions(-)
Applied, thanks.
> diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c
> index 0a7bc43db4e4..423a2d3da4b2 100644
> --- a/drivers/mfd/sec-core.c
> +++ b/drivers/mfd/sec-core.c
> @@ -333,7 +333,6 @@ static int sec_pmic_probe(struct i2c_client *i2c,
> }
> if (pdata) {
> sec_pmic->device_type = pdata->device_type;
> - sec_pmic->ono = pdata->ono;
> sec_pmic->irq_base = pdata->irq_base;
> sec_pmic->wakeup = pdata->wakeup;
> sec_pmic->pdata = pdata;
> diff --git a/include/linux/mfd/samsung/core.h b/include/linux/mfd/samsung/core.h
> index 3fdb7cfbffb3..75115384f3fc 100644
> --- a/include/linux/mfd/samsung/core.h
> +++ b/include/linux/mfd/samsung/core.h
> @@ -58,13 +58,7 @@ enum sec_device_type {
> * @irq_base: Base IRQ number for device, required for IRQs
> * @irq: Generic IRQ number for device
> * @irq_data: Runtime data structure for IRQ controller
> - * @ono: Power onoff IRQ number for s5m87xx
> * @wakeup: Whether or not this is a wakeup device
> - * @wtsr_smpl: Whether or not to enable in RTC driver the Watchdog
> - * Timer Software Reset (registers set to default value
> - * after PWRHOLD falling) and Sudden Momentary Power Loss
> - * (PMIC will enter power on sequence after short drop in
> - * VBATT voltage).
> */
> struct sec_pmic_dev {
> struct device *dev;
> @@ -77,9 +71,7 @@ struct sec_pmic_dev {
> int irq;
> struct regmap_irq_chip_data *irq_data;
>
> - int ono;
> bool wakeup;
> - bool wtsr_smpl;
> };
>
> int sec_irq_init(struct sec_pmic_dev *sec_pmic);
> @@ -95,7 +87,6 @@ struct sec_platform_data {
> int irq_base;
> int (*cfg_pmic_irq)(void);
>
> - int ono;
> bool wakeup;
> bool buck_voltage_lock;
>
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2015-02-26 11:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-26 9:13 [PATCH v2 1/3] rtc: s5m: Remove unused watchdog and sudden momentary power loss Krzysztof Kozlowski
2015-02-26 9:13 ` [PATCH v2 2/3] mfd: sec: Cleanup unused RTC fields: ono, WTSR and SMPL Krzysztof Kozlowski
2015-02-26 11:01 ` Lee Jones [this message]
2015-02-26 9:13 ` [PATCH v2 3/3] mfd: sec: Remove unnecessary out of memory message Krzysztof Kozlowski
2015-02-26 11:01 ` Lee Jones
2015-02-26 10:47 ` [PATCH v2 1/3] rtc: s5m: Remove unused watchdog and sudden momentary power loss Lee Jones
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=20150226110119.GM6688@x1 \
--to=lee.jones@linaro.org \
--cc=k.kozlowski@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--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.