mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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:
parent
404956f47c
commit
629ba8ee03
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue