]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: Use an 'ops' variable everywhere
authorSimon Glass <sjg@chromium.org>
Fri, 5 Feb 2021 04:22:05 +0000 (21:22 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 3 Mar 2021 20:40:11 +0000 (15:40 -0500)
commit3d647747166564af2864f52d11e1f2c0baf71eec
treeaeeb97c48a04141cb38dc023253153647743508e
parentca1e1f57beb29fbaf48f9488ada1b008dace8314
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>
drivers/gpio/gpio-uclass.c