Skip to content
Commit 3d647747 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>

Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
parent ca1e1f57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment