summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-tca6507.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-01-06 21:09:04 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-01-23 23:06:43 +0100
commitf93dbbbd108936b18b3230af36d9a36866ce69a7 (patch)
tree1ca2f65cd9fe945bd8185b18b73879959c1216bb /drivers/leds/leds-tca6507.c
parent9531347c61f689ac6de899a03ce91be4157277f7 (diff)
downloadop-kernel-dev-f93dbbbd108936b18b3230af36d9a36866ce69a7.zip
op-kernel-dev-f93dbbbd108936b18b3230af36d9a36866ce69a7.tar.gz
cpufreq: stats: don't check for freq table while freeing stats
While we allocate stats, we do need to check if freq-table is present or not as we need to use it then. But while freeing stats, all we need to know is if stats holds a valid pointer value. There is no use of testing if cpufreq table is present or not. Don't check it. Reviewed-by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/leds/leds-tca6507.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud