Re: [PATCH 4/5] extcon: intel-cht-wc: Add new cht_wc_extcon_set_state helper

2017-04-21 Thread Andy Shevchenko
+Cc: Heikki. It looks like you better Cc him with entire series. On Fri, Apr 21, 2017 at 4:01 PM, Hans de Goede wrote: > This allows a nice cleanup of cht_wc_extcon_pwrsrc_event, getting rid > of all the gotos in there. > > This also is a preparation patch for adding USB

Re: [PATCH 4/5] extcon: intel-cht-wc: Add new cht_wc_extcon_set_state helper

2017-04-21 Thread Andy Shevchenko
+Cc: Heikki. It looks like you better Cc him with entire series. On Fri, Apr 21, 2017 at 4:01 PM, Hans de Goede wrote: > This allows a nice cleanup of cht_wc_extcon_pwrsrc_event, getting rid > of all the gotos in there. > > This also is a preparation patch for adding USB Type-C controller >

[PATCH 4/5] extcon: intel-cht-wc: Add new cht_wc_extcon_set_state helper

2017-04-21 Thread Hans de Goede
This allows a nice cleanup of cht_wc_extcon_pwrsrc_event, getting rid of all the gotos in there. This also is a preparation patch for adding USB Type-C controller monitoring. Signed-off-by: Hans de Goede --- drivers/extcon/extcon-intel-cht-wc.c | 54

[PATCH 4/5] extcon: intel-cht-wc: Add new cht_wc_extcon_set_state helper

2017-04-21 Thread Hans de Goede
This allows a nice cleanup of cht_wc_extcon_pwrsrc_event, getting rid of all the gotos in there. This also is a preparation patch for adding USB Type-C controller monitoring. Signed-off-by: Hans de Goede --- drivers/extcon/extcon-intel-cht-wc.c | 54 ++-- 1 file