mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 01:32:21 +02:00
spi: lp8841-rtc: drop unused ifdef
Drop the probe CONFIG_OF ifdef which is unused since commit 3974a585be
("spi: Drop duplicate of_node assignment").
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260511150408.796155-10-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
06ba67d9d4
commit
4fee1d3a56
|
|
@ -199,8 +199,6 @@ spi_lp8841_rtc_probe(struct platform_device *pdev)
|
|||
host->set_cs = spi_lp8841_rtc_set_cs;
|
||||
host->transfer_one = spi_lp8841_rtc_transfer_one;
|
||||
host->bits_per_word_mask = SPI_BPW_MASK(8);
|
||||
#ifdef CONFIG_OF
|
||||
#endif
|
||||
|
||||
data = spi_controller_get_devdata(host);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user