diff options
author | tangbin <tangbin@cmss.chinamobile.com> | 2020-03-11 22:46:46 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-03-11 17:59:49 +0000 |
commit | 103ae95513803102d2a2c91458cfac5dfbaad124 (patch) | |
tree | c4a0d309803f4320cae88a723bcf4126b2095852 /drivers/hwmon/acpi_power_meter.c | |
parent | 97249a89c17e8f1288fed1ebc617ea2e9e88d501 (diff) | |
download | linux-103ae95513803102d2a2c91458cfac5dfbaad124.tar.bz2 |
ASoC: zte: zx-tdm: remove redundant variables dev
In this function, the variable 'dev' is assigned to '&pdev->dev',
but in the following code, all the assignments to 'struce device'
are used '&pdev->dev' instead of 'dev',except 'zx_tdm->dev'.
So,the variable 'dev' in this function is redundant and can be
replaced by '&pdev->dev' as elsewhere.
Signed-off-by: tangbin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20200311144646.11292-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/hwmon/acpi_power_meter.c')
0 files changed, 0 insertions, 0 deletions