[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090203003442.GC29462@zarina>
Date: Tue, 3 Feb 2009 03:34:42 +0300
From: Anton Vorontsov <cbouatmailru@...il.com>
To: Balaji Rao <balajirrao@...nmoko.org>
Cc: linux-kernel@...r.kernel.org, Anton Vorontsov <cbou@...l.ru>,
Andy Green <andy@...nmoko.com>
Subject: Re: [PATCH 2/3] pcf50633_charger: Remove mbc_set_status
On Tue, Jan 27, 2009 at 07:22:55PM +0530, Balaji Rao wrote:
> Remove unused 'pcf50633_mbc_set_status' function.
>
> Signed-off-by: Balaji Rao <balajirrao@...nmoko.org>
> Cc: Andy Green <andy@...nmoko.com>
> Cc: Anton Vorontsov <cbou@...l.ru>
> ---
This patch applied to battery-2.6.git (i.e. for 2.6.30).
Thanks!
> drivers/power/pcf50633-charger.c | 15 ---------------
> include/linux/mfd/pcf50633/mbc.h | 1 -
> 2 files changed, 0 insertions(+), 16 deletions(-)
>
> diff --git a/drivers/power/pcf50633-charger.c b/drivers/power/pcf50633-charger.c
> index 41aec2a..aceffdc 100644
> --- a/drivers/power/pcf50633-charger.c
> +++ b/drivers/power/pcf50633-charger.c
> @@ -84,21 +84,6 @@ int pcf50633_mbc_get_status(struct pcf50633 *pcf)
> }
> EXPORT_SYMBOL_GPL(pcf50633_mbc_get_status);
>
> -void pcf50633_mbc_set_status(struct pcf50633 *pcf, int what, int status)
> -{
> - struct pcf50633_mbc *mbc = platform_get_drvdata(pcf->mbc_pdev);
> -
> - if (what & PCF50633_MBC_USB_ONLINE)
> - mbc->usb_online = !!status;
> - if (what & PCF50633_MBC_USB_ACTIVE)
> - mbc->usb_active = !!status;
> - if (what & PCF50633_MBC_ADAPTER_ONLINE)
> - mbc->adapter_online = !!status;
> - if (what & PCF50633_MBC_ADAPTER_ACTIVE)
> - mbc->adapter_active = !!status;
> -}
> -EXPORT_SYMBOL_GPL(pcf50633_mbc_set_status);
> -
> static ssize_t
> show_chgmode(struct device *dev, struct device_attribute *attr, char *buf)
> {
> diff --git a/include/linux/mfd/pcf50633/mbc.h b/include/linux/mfd/pcf50633/mbc.h
> index 6e17619..4119579 100644
> --- a/include/linux/mfd/pcf50633/mbc.h
> +++ b/include/linux/mfd/pcf50633/mbc.h
> @@ -128,7 +128,6 @@ enum pcf50633_reg_mbcs3 {
> int pcf50633_mbc_usb_curlim_set(struct pcf50633 *pcf, int ma);
>
> int pcf50633_mbc_get_status(struct pcf50633 *);
> -void pcf50633_mbc_set_status(struct pcf50633 *, int what, int status);
>
> #endif
--
Anton Vorontsov
email: cbouatmailru@...il.com
irc://irc.freenode.net/bd2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists