commit | 49f315a830af72877a73df6341bf92ee8ab6ab43 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Feb 04 21:22:05 2021 -0700 |
committer | Tom Rini <trini@konsulko.com> | Wed Mar 03 15:40:11 2021 -0500 |
tree | aeeb97c48a04141cb38dc023253153647743508e | |
parent | 722f9682ae234b5c1969ce704df4b459e7dfdf80 [diff] |
gpio: Use an 'ops' variable everywhere Update this driver to use the common method of putting the driver operations in an 'ops' variable install of calling gpio_get_ops() repeatedly. Make it const since operations do not change. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>