Skip to contentSkip to conversation

PM / devfreq: event: Fix the error and warning from script/checkpatch.pl

PATCH MyungJoo Ham 1 participant 1 message Nov 23, 2015

lore
Share & tools
lore

MyungJoo Ham

author Applied
#0 lore raw
Quoted 11 lines

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 ')'

(quoted diff) +1 -0
+	if (count < 0 ) {

WARNING: line over 80 characters

(quoted diff) +1 -0
+	ptr = devres_alloc(devm_devfreq_event_release, sizeof(*ptr), GFP_KERNEL);
Quoted 1 line

Applied.