diff options
author | Uwe Kleine-König | 2022-10-21 15:07:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2022-12-31 13:32:49 +0100 |
commit | 9ba808aec5a12f356cb2519fce28e709f16ef551 (patch) | |
tree | 0ad92110cc97c95a764f203af2810c11cb1f9f2c /.gitignore | |
parent | 59457a0f079eae19aaf322b3cc1c8ba66f55c5f3 (diff) |
rtc: pcf2127: Convert to .probe_new()
[ Upstream commit 5418e595f30bf4fde83ebb0121417c0c95cff98e ]
.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in .probe(). The device_id array has to move up for that
to work.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20221021130706.178687-7-u.kleine-koenig@pengutronix.de
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Stable-dep-of: 83ebb7b3036d ("rtc: cmos: Disable ACPI RTC event on removal")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions