commit | ff7f9e0533ffb47a18090b8cfd6fe69ef757d7e7 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | Mon Oct 07 15:47:18 2019 +0200 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Mon Oct 07 15:49:28 2019 +0200 |
tree | e1d50915d6eb4ba2ac0d546ab1a83889c7b612f4 | |
parent | 1d84eca6d5b320b9c0a2f7c107aac40bb8989785 [diff] |
rtc: ds1347: simplify getting .driver_data Get 'driver_data' from 'struct device' directly. Going via spi_device is an unnecessary step. Link: https://lore.kernel.org/r/20191007134724.15505-4-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>