commit | 5f25f066f75a67835abb5e400471a27abd09395b | [log] [tgz] |
---|---|---|
author | Xiaolong Ye <yexl@marvell.com> | Fri Sep 11 11:05:23 2015 +0800 |
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | Fri Sep 11 14:23:30 2015 +0900 |
tree | 32028d119a5b61645a977f6a56f06d52e5443d55 | |
parent | 14de3903181ca41dde73d57ad4f7a79a314ee6bf [diff] |
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 <yexl@marvell.com> Signed-off-by: Kevin Liu <kliu5@marvell.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>