pcf50633_charger: Remove unused mbc_set_status function

The 'pcf50633_mbc_set_status' function is unused, so remove it.

Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
Cc: Andy Green <andy@openmoko.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>

authored by Balaji Rao and committed by Anton Vorontsov cc52a29e 9705ecc5

-16
-15
drivers/power/pcf50633-charger.c
··· 106 } 107 EXPORT_SYMBOL_GPL(pcf50633_mbc_get_status); 108 109 - void pcf50633_mbc_set_status(struct pcf50633 *pcf, int what, int status) 110 - { 111 - struct pcf50633_mbc *mbc = platform_get_drvdata(pcf->mbc_pdev); 112 - 113 - if (what & PCF50633_MBC_USB_ONLINE) 114 - mbc->usb_online = !!status; 115 - if (what & PCF50633_MBC_USB_ACTIVE) 116 - mbc->usb_active = !!status; 117 - if (what & PCF50633_MBC_ADAPTER_ONLINE) 118 - mbc->adapter_online = !!status; 119 - if (what & PCF50633_MBC_ADAPTER_ACTIVE) 120 - mbc->adapter_active = !!status; 121 - } 122 - EXPORT_SYMBOL_GPL(pcf50633_mbc_set_status); 123 - 124 static ssize_t 125 show_chgmode(struct device *dev, struct device_attribute *attr, char *buf) 126 {
··· 106 } 107 EXPORT_SYMBOL_GPL(pcf50633_mbc_get_status); 108 109 static ssize_t 110 show_chgmode(struct device *dev, struct device_attribute *attr, char *buf) 111 {
-1
include/linux/mfd/pcf50633/mbc.h
··· 128 int pcf50633_mbc_usb_curlim_set(struct pcf50633 *pcf, int ma); 129 130 int pcf50633_mbc_get_status(struct pcf50633 *); 131 - void pcf50633_mbc_set_status(struct pcf50633 *, int what, int status); 132 133 #endif 134
··· 128 int pcf50633_mbc_usb_curlim_set(struct pcf50633 *pcf, int ma); 129 130 int pcf50633_mbc_get_status(struct pcf50633 *); 131 132 #endif 133