Skip to content

Commit 786ad21

Browse files
Dr. David Alan Gilbertlag-linaro
authored andcommitted
mfd: pcf50633: Remove unused platform IRQ code
As part of the pcf50633 removal, take out it's irq code (which includes one bit still called from the core, but it'll go soon). Signed-off-by: "Dr. David Alan Gilbert" <linux@treblig.org> Link: https://lore.kernel.org/r/20250311014959.743322-9-linux@treblig.org Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 8559602 commit 786ad21

File tree

3 files changed

+2
-317
lines changed

3 files changed

+2
-317
lines changed

drivers/mfd/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ obj-$(CONFIG_MFD_MT6370) += mt6370.o
183183
mt6397-objs := mt6397-core.o mt6397-irq.o mt6358-irq.o
184184
obj-$(CONFIG_MFD_MT6397) += mt6397.o
185185

186-
pcf50633-objs := pcf50633-core.o pcf50633-irq.o
186+
pcf50633-objs := pcf50633-core.o
187187
obj-$(CONFIG_MFD_PCF50633) += pcf50633.o
188188
obj-$(CONFIG_RZ_MTU3) += rz-mtu3.o
189189
obj-$(CONFIG_ABX500_CORE) += abx500-core.o

drivers/mfd/pcf50633-core.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,6 @@ static int pcf50633_probe(struct i2c_client *client)
204204
dev_info(pcf->dev, "Probed device version %d variant %d\n",
205205
version, variant);
206206

207-
pcf50633_irq_init(pcf, client->irq);
208-
209207
/* Create sub devices */
210208
pcf50633_client_dev_register(pcf, "pcf50633-input", &pcf->input_pdev);
211209
pcf50633_client_dev_register(pcf, "pcf50633-rtc", &pcf->rtc_pdev);
@@ -258,7 +256,6 @@ static void pcf50633_remove(struct i2c_client *client)
258256
int i;
259257

260258
sysfs_remove_group(&client->dev.kobj, &pcf_attr_group);
261-
pcf50633_irq_free(pcf);
262259

263260
platform_device_unregister(pcf->input_pdev);
264261
platform_device_unregister(pcf->rtc_pdev);
@@ -279,7 +276,7 @@ MODULE_DEVICE_TABLE(i2c, pcf50633_id_table);
279276
static struct i2c_driver pcf50633_driver = {
280277
.driver = {
281278
.name = "pcf50633",
282-
.pm = pm_sleep_ptr(&pcf50633_pm),
279+
/* going.... .pm = pm_sleep_ptr(&pcf50633_pm), */
283280
},
284281
.id_table = pcf50633_id_table,
285282
.probe = pcf50633_probe,

drivers/mfd/pcf50633-irq.c

Lines changed: 0 additions & 312 deletions
This file was deleted.

0 commit comments

Comments
 (0)