ARM: pxa: remove use of symbol_get()
authorArnd Bergmann <arnd@arndb.de>
Tue, 1 Aug 2023 17:35:40 +0000 (19:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Sep 2023 20:26:59 +0000 (21:26 +0100)
commitac6fa0e04be02d7065b176dd8a319a29d4bfb32f
tree48b007024ee6e7e83467396fa2adc01c57f9fd2f
parentcf859267e639cff1f525bd050f370ea752cc25f7
ARM: pxa: remove use of symbol_get()

commit 0faa29c4207e6e29cfc81b427df60e326c37083a upstream.

The spitz board file uses the obscure symbol_get() function
to optionally call a function from sharpsl_pm.c if that is
built. However, the two files are always built together
these days, and have been for a long time, so this can
be changed to a normal function call.

Link: https://lore.kernel.org/lkml/20230731162639.GA9441@lst.de/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-pxa/sharpsl_pm.c
arch/arm/mach-pxa/spitz.c