From: Xiaolong Ye Date: Fri, 11 Sep 2015 03:05:23 +0000 (+0800) Subject: PM / devfreq: Fix incorrect type issue. X-Git-Tag: omap-for-v4.4/cleanup-pt1~72^2~1^3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f25f066f75a67835abb5e400471a27abd09395b;p=pandora-kernel.git PM / devfreq: Fix incorrect type issue. time_in_state in struct devfreq is defined as unsigned long, so devm_kzalloc should use sizeof(unsigned long) as argument instead of sizeof(unsigned int), otherwise it will cause unexpected result in 64bit system. Signed-off-by: Xiaolong Ye Signed-off-by: Kevin Liu Signed-off-by: MyungJoo Ham --- Reading git-diff-tree failed