commit | 3d647747166564af2864f52d11e1f2c0baf71eec | [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 | ca1e1f57beb29fbaf48f9488ada1b008dace8314 [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>