power: reset: syscon-poweroff: Move device data into a struct
authorAndrew Davis <afd@ti.com>
Mon, 12 Feb 2024 16:28:30 +0000 (10:28 -0600)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 13 Feb 2024 01:17:26 +0000 (02:17 +0100)
commitffa212831289f15a92fe295a371157290619bb8f
treec5a79bad9ec6e5ee0b73e171497d085afeb5b21e
parentc3ede0b6f7dd345d8986cb69b861cadb9976782f
power: reset: syscon-poweroff: Move device data into a struct

Currently all these device data elements are top level global variables.
Move these into a struct. This will be used in the next patch when
the global variable usage is removed. Doing this in two steps makes
the patches easier to read.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240212162831.67838-19-afd@ti.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/syscon-poweroff.c