power: supply: bq24190_charger: Use new extcon_register_notifier_all()
authorHans de Goede <hdegoede@redhat.com>
Thu, 13 Apr 2017 12:04:11 +0000 (14:04 +0200)
committerSebastian Reichel <sre@kernel.org>
Thu, 13 Apr 2017 23:45:06 +0000 (01:45 +0200)
commit6c381663bb3b4febc15b2fb33f046f0b986ce5c5
tree25f675a2368be3f99ddecae1d60b80a670627307
parentddaa00ee63e184d86d3963ce3014ae04a6a4fce2
power: supply: bq24190_charger: Use new extcon_register_notifier_all()

When I submitted the extcon handling I had a patch pending for the
extcon sub-system for extcon_register_notifier to take -1 as cable id
for listening for all type cable events on an extcon with a single
notifier.

In the end it was decided to instead add a new
extcon_register_notifier_all function for this, switch to using this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Liam Breck <kernel@networkimprov.net>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/bq24190_charger.c