commit | 3f5071a8b07b697993a16bbe9cbc8c876ba60048 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Sun Apr 23 20:54:11 2017 +0200 |
committer | Chanwoo Choi <cw00.choi@samsung.com> | Tue May 23 18:32:02 2017 +0900 |
tree | acf40b2a6eab25fd995b68754bdb66b14a415b39 | |
parent | 08332893e37af6ae779367e78e444f8f9571511d [diff] |
extcon: Use devm_kcalloc() in extcon_dev_register() A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "devm_kcalloc". Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>