Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf78d4bc authored by Karthikeyan Mani's avatar Karthikeyan Mani
Browse files

soundwire: Remove startup from swr_driver structure



Remove the startup function declaration from struct
swr_driver as it has been removed as part of
moving soundwire device functionality from swrm
master probe to the swr device probe.

CRs-fixed: 2050710
Change-Id: I2c0a38c609f87c432e3cd29694caf1d2f1a272e2
Signed-off-by: default avatarKarthikeyan Mani <kmani@codeaurora.org>
parent d52d5792
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -196,7 +196,6 @@ static inline struct swr_device *to_swr_device(struct device *dev)
 * @shutdown: standard shutdown callback used during power down/halt
 * @suspend: standard suspend callback used during system suspend
 * @resume: standard resume callback used during system resume
 * @startup: additional init operation for slave devices
 * @driver: soundwire device drivers should initialize name and
 * owner field of this structure
 * @id_table: list of soundwire devices supported by this driver
@@ -210,7 +209,6 @@ struct swr_driver {
	int	(*device_up)(struct swr_device *swr);
	int	(*device_down)(struct swr_device *swr);
	int	(*reset_device)(struct swr_device *swr);
	int	(*startup)(struct swr_device *swr);
	struct device_driver		driver;
	const struct swr_device_id	*id_table;
};