]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:50:44 +0000 (13:50 +0200)
commitb414d5f3ecb4e8cedb58b8efe935d301fc41ad89
tree8fb1658d1b3cf6d6268bdf4629a56a7ef6d69233
parent3061c489be306b81f3779db16f73b8b925c9695b
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