From mboxrd@z Thu Jan 1 00:00:00 1970 From: marek.vasut@gmail.com (Marek Vasut) Date: Sat, 12 Jun 2010 14:47:33 +0200 Subject: [PATCH 3/3] wm97xx_batt: Remove redundant header file In-Reply-To: References: <1275613654-23918-1-git-send-email-marek.vasut@gmail.com> <1275613654-23918-3-git-send-email-marek.vasut@gmail.com> Message-ID: <201006121447.33221.marek.vasut@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Dne So 12. ?ervna 2010 11:16:58 Eric Miao napsal(a): > On Fri, Jun 4, 2010 at 9:07 AM, Marek Vasut wrote: > > Signed-off-by: Marek Vasut > > --- > > include/linux/wm97xx_batt.h | 16 ---------------- > > 1 files changed, 0 insertions(+), 16 deletions(-) > > delete mode 100644 include/linux/wm97xx_batt.h > > > > diff --git a/include/linux/wm97xx_batt.h b/include/linux/wm97xx_batt.h > > deleted file mode 100644 > > index a1d6419..0000000 > > --- a/include/linux/wm97xx_batt.h > > +++ /dev/null > > @@ -1,16 +0,0 @@ > > -#ifndef _LINUX_WM97XX_BAT_H > > -#define _LINUX_WM97XX_BAT_H > > - > > -#include > > - > > -#warning This file will be removed soon, use wm97xx.h instead! > > - > > -#define wm97xx_batt_info wm97xx_batt_pdata > > - > > -#ifdef CONFIG_BATTERY_WM97XX > > -void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data); > > -#else > > -static inline void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data) > > {} -#endif > > - > > -#endif > > A git grep of wm97xx_batt.h shows: > > drivers/power/wm97xx_battery.c:/* The interface is deprecated, as well > as linux/wm97xx_batt.h */ > > So you may want to remove that part as well. Otherwise looks good to me. Thanks, good catch. But let's push this through a separate patch, shall we?