dm: pinctrl: convert pinctrl-single to livetree
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 13 Jan 2020 10:34:55 +0000 (11:34 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 17 Apr 2020 03:06:54 +0000 (23:06 -0400)
commit719cab6d2e2bf86f141a2c018b4e8e6c1507a5eb
treea4721e930dd6fae2ab1d31c7e775abf808eaf142
parentf5bd0fb3862eb4cd05264c96f69c1e385ee854d1
dm: pinctrl: convert pinctrl-single to livetree

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.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/pinctrl/pinctrl-single.c