[RESEND PATCH 2/3] pinctrl: bcm283x: Read address from DT in ofdata_to_platdata

2020-09-29 Thread Ovidiu Panait
From: Ovidiu Panait Factor out reading IP base address to ofdata_to_platdata function, which is designed for this purpose. Also, drop the dev->priv NULL check, since this is already done by the dm core when allocating space using priv_auto_alloc_size feature. (in drivers/core/device.c -> device_o

[PATCH 2/3] pinctrl: bcm283x: Read address from DT in ofdata_to_platdata

2020-06-11 Thread Ovidiu Panait
Factor out reading IP base address to ofdata_to_platdata function, which is designed for this purpose. Also, drop the dev->priv NULL check, since this is already done by the dm core when allocating space using priv_auto_alloc_size feature. (in drivers/core/device.c -> device_ofdata_to_platdata). S