aboutsummaryrefslogtreecommitdiff
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorBiju Das <[email protected]>2023-07-17 13:40:58 +0100
committerAlexandre Belloni <[email protected]>2023-07-27 23:07:50 +0200
commit68c624f860b30408afde81a91b4c9df3e915ed85 (patch)
treebb56836540431a39b1b4095659524f733c41fd9e /fs/ubifs/commit.c
parentb7f73b6e921b457a222e86cf53fe3950c6b5aed5 (diff)
rtc: pcf85063: Simplify probe()
The pcf85063_ids[].driver_data could store a pointer to the config, like for DT-based matching, making I2C and DT-based matching more similar. After that, we can simplify the probe() by replacing of_device_get_ match_data() and i2c_match_id() by i2c_get_match_data() as we have similar I2C and DT-based matching table. Signed-off-by: Biju Das <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions