]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: 7906/1: mmc: mmci: Remove unnecessary amba_set_drvdata()
authorMichal Simek <michal.simek@xilinx.com>
Tue, 26 Nov 2013 10:38:20 +0000 (11:38 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 30 Nov 2013 18:11:41 +0000 (18:11 +0000)
commita8f12548206d2fa95d0907d093f5eac465067423
tree62f5d7832c0731f49fa3ec2af2e090feb73a3e71
parent6865686e670b8e235e65e503e39d4805cb18f599
ARM: 7906/1: mmc: mmci: Remove unnecessary amba_set_drvdata()

Driver core clears the driver data to NULL after device_release
or on probe failure, so just remove it from here.

Driver core change:
"device-core: Ensure drvdata = NULL when no driver is bound"
(sha1: 0998d0631001288a5974afc0b2a5f568bcdecb4d)

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c