aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2019-11-25 18:26:35 +0200
committerAndy Shevchenko <[email protected]>2019-12-13 16:48:48 +0200
commita718e68ede16957e091ee8f35f7b73765e51a092 (patch)
tree3ee6aa8fd04ccbd63dbab77df8847620c485e580 /lib/string_helpers.c
parentcaedcbd053bca446f8d66faf74adeb8eb3d2913f (diff)
pinctrl: lynxpoint: Use standard pattern for memory allocation
The pattern foo = kmalloc(sizeof(*foo), GFP_KERNEL); has an advantage when foo type is changed. Since we are planning a such, better to be prepared by using standard pattern for memory allocation. Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions