ARM: at91: pm: do not initialize pdev

There is no need to initialize pdev.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20210415105010.569620-6-claudiu.beznea@microchip.com
This commit is contained in:
Claudiu Beznea 2021-04-15 13:49:51 +03:00 committed by Nicolas Ferre
parent 404956f47c
commit 629ba8ee03

View file

@ -659,7 +659,7 @@ static int __init at91_pm_backup_init(void)
{
struct gen_pool *sram_pool;
struct device_node *np;
struct platform_device *pdev = NULL;
struct platform_device *pdev;
int ret = -ENODEV;
if (!IS_ENABLED(CONFIG_SOC_SAMA5D2))