PM / devfreq: event: Fix the error and warning from script/checkpatch.pl
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 19 Nov 2015 08:03:44 +0000 (17:03 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 13 Jan 2016 08:30:32 +0000 (17:30 +0900)
commite54916c6e1d0b939999eb38011202dd9064d5788
tree58051d75d8a01ebfe3d0989dd6b16d45a355ce49
parentdf678ff7531990ba11cc0b921609a7e229d1323c
PM / devfreq: event: Fix the error and warning from script/checkpatch.pl

This patch just fixes following error and warning by using
scripts/checkpatch.pl.

- Follwoing issue from checkpatch.pl:
ERROR: space prohibited before that close parenthesis ')'
+ if (count < 0 ) {

WARNING: line over 80 characters
+ ptr = devres_alloc(devm_devfreq_event_release, sizeof(*ptr), GFP_KERNEL);

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/devfreq-event.c