Re: [PATCH 5/5] mfd: twl: use mfd_add_devices for TWL6032 regulator

2017-01-03 Thread Lee Jones
On Sat, 26 Nov 2016, Nicolae Rosia wrote: > TWL6032 regulator driver uses the drvdata twl_priv pointer. > In order to avoid accessing an invalid drvdata > when the driver gets unbinded, make sure we remove the > child devices before deleting the drvdata. This doesn't really describe the change.

Re: [PATCH 5/5] mfd: twl: use mfd_add_devices for TWL6032 regulator

2017-01-03 Thread Lee Jones
On Sat, 26 Nov 2016, Nicolae Rosia wrote: > TWL6032 regulator driver uses the drvdata twl_priv pointer. > In order to avoid accessing an invalid drvdata > when the driver gets unbinded, make sure we remove the > child devices before deleting the drvdata. This doesn't really describe the change.

[PATCH 5/5] mfd: twl: use mfd_add_devices for TWL6032 regulator

2016-11-26 Thread Nicolae Rosia
TWL6032 regulator driver uses the drvdata twl_priv pointer. In order to avoid accessing an invalid drvdata when the driver gets unbinded, make sure we remove the child devices before deleting the drvdata. Signed-off-by: Nicolae Rosia --- drivers/mfd/twl-core.c | 22

[PATCH 5/5] mfd: twl: use mfd_add_devices for TWL6032 regulator

2016-11-26 Thread Nicolae Rosia
TWL6032 regulator driver uses the drvdata twl_priv pointer. In order to avoid accessing an invalid drvdata when the driver gets unbinded, make sure we remove the child devices before deleting the drvdata. Signed-off-by: Nicolae Rosia --- drivers/mfd/twl-core.c | 22 ++ 1