gpio: Verify validity of pin offsets when looking up names
Translation of a pin name to a device+offset should fail if the offset is larger than the number of pins in the GPIO bank. Signed-off-by:Samuel Holland <samuel@sholland.org> Reviewed-by:
Simon Glass <sjg@chromium.org>
Loading
Please register or sign in to comment