power: supply: bq24190_charger: Use i2c-core irq-mapping code
authorHans de Goede <hdegoede@redhat.com>
Wed, 22 Mar 2017 14:55:30 +0000 (15:55 +0100)
committerSebastian Reichel <sre@kernel.org>
Thu, 13 Apr 2017 23:41:34 +0000 (01:41 +0200)
commit01c0e0a28da749e80cb7d549f75a5f52e2f40d0e
tree5e82e0a71ac57b5d173de33f288ed2fa3727f652
parentb98074e2adc21b52b59e2c7889f58d0c9f6fd8e5
power: supply: bq24190_charger: Use i2c-core irq-mapping code

The i2c-core already maps of irqs before calling the driver's probe
function and there are no in tree users of
bq24190_platform_data->gpio_int.

Remove the redundant custom irq-mapping code and just use client->irq.

Cc: Liam Breck <kernel@networkimprov.net>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/bq24190_charger.c
include/linux/power/bq24190_charger.h [deleted file]