pata_mpc52xx: use GFP_KERNEL
authorJulia Lawall <Julia.Lawall@inria.fr>
Thu, 10 Feb 2022 20:42:19 +0000 (21:42 +0100)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Fri, 11 Feb 2022 05:06:06 +0000 (14:06 +0900)
commitd71c02b0caeff2f7702ecca02854d3011dc29135
tree71c282b3f712b59b9cedbb2215c50849cad2e520
parent76ae14da4eaa76472b0012138ebfa42173c3a2e2
pata_mpc52xx: use GFP_KERNEL

Platform_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>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/pata_mpc52xx.c