This patch adds bq24157s charger in the list of supported chargers.
bq24157s is similar to bq24158, except for Bit6 from Special Charger
Voltage/Enable Pin Status register, but this register is currently
not used by bq2415x_charger.
Signed-off-by: Anda-Maria Nicolae <anda-maria.nicolae@intel.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
  * http://www.ti.com/product/bq24153
  * http://www.ti.com/product/bq24153a
  * http://www.ti.com/product/bq24155
+ * http://www.ti.com/product/bq24157s
+ * http://www.ti.com/product/bq24158
  */
 
 #include <linux/kernel.h>
        BQ24155,
        BQ24156,
        BQ24156A,
+       BQ24157S,
        BQ24158,
 };
 
        "bq24155",
        "bq24156",
        "bq24156a",
+       "bq24157s",
        "bq24158",
 };
 
                                return bq->chip;
                        return BQ24156;
                case 2:
+                       if (bq->chip == BQ24157S)
+                               return bq->chip;
                        return BQ24158;
                default:
                        return BQUNKNOWN;
        case BQ24153A:
        case BQ24156:
        case BQ24156A:
+       case BQ24157S:
        case BQ24158:
                if (ret == 3)
                        return 0;
        { "bq24155", BQ24155 },
        { "bq24156", BQ24156 },
        { "bq24156a", BQ24156A },
+       { "bq24157s", BQ24157S },
        { "bq24158", BQ24158 },
        {},
 };