PM / devfreq: tegra: remove unneeded variable
authorYangtao Li <tiny.windzz@gmail.com>
Sat, 16 Feb 2019 15:18:26 +0000 (10:18 -0500)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 16 Apr 2019 00:29:18 +0000 (09:29 +0900)
commit1d1397c3ec1fd0bae330c376269a1c8c7e981a35
treeb40aea028a9593e87c14df1480f4d1c852e24e04
parent726409698feeac20de12fd107159573539b3e063
PM / devfreq: tegra: remove unneeded variable

This variable is not used after initialization, so
remove it. And in order to unify the code style,
move the location where the dev_get_drvdata is called
by the way.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/tegra-devfreq.c