]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: at91: Fix getting address of private data
authorAxel Lin <axel.lin@ingics.com>
Sat, 31 Jan 2015 06:47:34 +0000 (14:47 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 12 Feb 2015 17:35:29 +0000 (10:35 -0700)
commitd895821f4c3c21f034780814cb73842b7219c4f2
tree3fdbabf75ca6430516d1bf4740cb8ba6f119974d
parentb922a5f94d960b0464f81b439c34707071095565
gpio: at91: Fix getting address of private data

Use dev_get_priv() rather than dev_get_platdata() to get correct address of
private data.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/gpio/at91_gpio.c