mfd: sta2x11: Use GFP_KERNEL instead of GFP_ATOMIC
authorJulia Lawall <Julia.Lawall@inria.fr>
Thu, 10 Feb 2022 20:42:23 +0000 (21:42 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 8 Mar 2022 09:44:05 +0000 (09:44 +0000)
commit6ceb5f173ff15136f3d76e8d22aa8c6e784ea126
tree82a8f2bfdc8dc11f1e1dfde5215dc19b5f05f139
parenta002f65ab409608b643c79bf6417bd453b64a55f
mfd: sta2x11: Use GFP_KERNEL instead of GFP_ATOMIC

pci_driver probe functions aren't called with locks held and
thus don't need GFP_ATOMIC. Use GFP_KERNEL instead.

Problem found with Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220210204223.104181-10-Julia.Lawall@inria.fr
drivers/mfd/sta2x11-mfd.c