diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-22 01:57:20 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-22 22:12:21 (GMT) |
commit | 3bca8de22082f6c02a176dbb344e5234d9d5cc02 (patch) | |
tree | af8bdb7155a02d70497b7a7b893bc828c78e96a1 /drivers/i2c/i2c-dev.c | |
parent | 092270656d7f05f6d0c4eb79c8a74a2ce1b45bec (diff) | |
download | linux-3bca8de22082f6c02a176dbb344e5234d9d5cc02.tar.xz |
ethernet: broadcom: remove unnecessary platform_set_drvdata()
The driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/i2c/i2c-dev.c')
0 files changed, 0 insertions, 0 deletions