From: Lee Jones <lee.jones@linaro.org>
To: Sachin Kamat <sachin.kamat@samsung.com>
Cc: linux-kernel@vger.kernel.org, spk.linux@gmail.com,
Cory Maccarrone <darkstar6262@gmail.com>
Subject: Re: [PATCH 1/2 Resend] mfd: htc-i2cpld: Remove unused code
Date: Mon, 28 Jul 2014 07:54:16 +0100 [thread overview]
Message-ID: <20140728065416.GB5273@lee--X1> (raw)
In-Reply-To: <1405684817-20171-1-git-send-email-sachin.kamat@samsung.com>
On Fri, 18 Jul 2014, Sachin Kamat wrote:
> Removed code unused in this function.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
> Cc: Cory Maccarrone <darkstar6262@gmail.com>
> ---
> Compile tested.
> ---
> drivers/mfd/htc-i2cpld.c | 5 -----
> 1 file changed, 5 deletions(-)
Applied, thanks.
> diff --git a/drivers/mfd/htc-i2cpld.c b/drivers/mfd/htc-i2cpld.c
> index d7b2a75aca3e..b44f0203983b 100644
> --- a/drivers/mfd/htc-i2cpld.c
> +++ b/drivers/mfd/htc-i2cpld.c
> @@ -332,18 +332,13 @@ static int htcpld_setup_chip_irq(
> int chip_index)
> {
> struct htcpld_data *htcpld;
> - struct device *dev = &pdev->dev;
> - struct htcpld_core_platform_data *pdata;
> struct htcpld_chip *chip;
> - struct htcpld_chip_platform_data *plat_chip_data;
> unsigned int irq, irq_end;
> int ret = 0;
>
> /* Get the platform and driver data */
> - pdata = dev_get_platdata(dev);
> htcpld = platform_get_drvdata(pdev);
> chip = &htcpld->chip[chip_index];
> - plat_chip_data = &pdata->chip[chip_index];
>
> /* Setup irq handlers */
> irq_end = chip->irq_start + chip->nirqs;
--
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:[~2014-07-28 6:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-18 12:00 Sachin Kamat
2014-07-18 12:00 ` [PATCH Resend 2/2] mfd: tps65912-spi: Remove unused variable Sachin Kamat
2014-07-28 6:54 ` Lee Jones
2014-07-28 6:54 ` 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=20140728065416.GB5273@lee--X1 \
--to=lee.jones@linaro.org \
--cc=darkstar6262@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sachin.kamat@samsung.com \
--cc=spk.linux@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
all inboxes | Powered by JetHome®