Skip to content
Commit d4c5c9d8 authored by Lukas Wunner's avatar Lukas Wunner Committed by Phil Elwell
Browse files

bcm2835-mmc: Deduplicate reset of driver data on remove



The BCM2835 MMC host driver sets the device's driver data pointer to
NULL on ->remove() even though the driver core subsequently does the
same in __device_release_driver().  Drop the duplicate assignment.

Signed-off-by: default avatarLukas Wunner <lukas@wunner.de>
Cc: Frank Pavlic <f.pavlic@kunbus.de>
parent f7837b0d
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