platform/x86: int3472/discrete: Drop a forward declaration
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 20 Sep 2022 07:01:01 +0000 (09:01 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 22 Sep 2022 13:55:55 +0000 (15:55 +0200)
commitbb95d5c540a4101024fc36512d65b2cf2663bbdb
treedb774eacea9fd5e71b6fbac4feaae6b60f108dbb
parent5890032523780ddbf508d4b86ddd738bff43a70c
platform/x86: int3472/discrete: Drop a forward declaration

By swapping the definition of skl_int3472_discrete_remove() and
skl_int3472_discrete_probe() the forward declaration of the former can
be dropped. This is a good thing as it removes code duplication.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Daniel Scally <djrscally@gmail.com>
Link: https://lore.kernel.org/r/20220920070101.907596-1-u.kleine-koenig@pengutronix.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel/int3472/discrete.c