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)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 4 Sep 2017 05:33:22 +0000 (14:33 +0900)
commit743b6ed5a8131a7f4352b451742d1c800fb942aa
tree0ca48cfd06122b9986d8445dd37987df2a05ea7e
parent400160891a5b83206ea19feeba85905fc6850f83
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