lkml.org 
[lkml]   [2014]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 12/16] power: max17040: Add ID for max77836 Fuel Gauge block
    Date
    MAX77836 has the same Fuel Gauge as MAX17040. The max17040 driver can be
    safely re-used. The patch adds MAX77836 ID to array with i2c_device_id.

    Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
    Cc: Kyungmin Park <kyungmin.park@samsung.com>
    Cc: Marek Szyprowski <m.szyprowski@samsung.com>
    Cc: Anton Vorontsov <anton@enomsg.org>
    Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
    Cc: David Woodhouse <dwmw2@infradead.org>
    ---
    drivers/power/max17040_battery.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/power/max17040_battery.c b/drivers/power/max17040_battery.c
    index 0fbac861080d..165ffe381803 100644
    --- a/drivers/power/max17040_battery.c
    +++ b/drivers/power/max17040_battery.c
    @@ -278,6 +278,7 @@ static SIMPLE_DEV_PM_OPS(max17040_pm_ops, max17040_suspend, max17040_resume);

    static const struct i2c_device_id max17040_id[] = {
    { "max17040", 0 },
    + { "max77836-battery", 0 },
    { }
    };
    MODULE_DEVICE_TABLE(i2c, max17040_id);
    --
    1.7.9.5


    \
     
     \ /
      Last update: 2014-02-25 04:01    [W:4.170 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site