cpufreq: brcmstb-avs-cpufreq: remove unnecessary platform_set_drvdata()
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 7 Feb 2017 15:56:45 +0000 (15:56 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 9 Feb 2017 00:22:46 +0000 (01:22 +0100)
commit113f9017e503ba5a21138f93720857b77e4069f9
treebf5d83ff096b297a8e98354fd59069ad2a539c50
parenta69261e4470d680185a15f748d9cdafb37c57a33
cpufreq: brcmstb-avs-cpufreq: 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: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/brcmstb-avs-cpufreq.c