
30 Dec
2019
30 Dec
'19
2:21 a.m.
On Tue, 26 Nov 2019 at 01:49, Patrick Delaunay patrick.delaunay@st.com wrote:
Convert 'pinctrl-single' using livetree functions
- dev_read_prop
- dev_read_u32_default
- dev_read_u32_array
- dev_read_bool
- dev_read_addr
and get rid of DECLARE_GLOBAL_DATA_PTR.
Signed-off-by: Patrick Delaunay patrick.delaunay@st.com
Changes in v2:
- use the dev_ API instead of ofnode_ function.
drivers/pinctrl/pinctrl-single.c | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org