From 971dc81b1e65296a3edaa6235cf4c447782e6872 Mon Sep 17 00:00:00 2001 From: John Klug Date: Mon, 13 Feb 2023 15:51:30 -0600 Subject: dev_info pointer issue --- io-module/mts-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io-module/mts-io.c b/io-module/mts-io.c index 6fd2eae..fc4df20 100644 --- a/io-module/mts-io.c +++ b/io-module/mts-io.c @@ -148,7 +148,7 @@ static int mts_io_remove(struct platform_device *pdev) struct mts_io_drvdata *mts_io_dd = platform_get_drvdata(pdev); const char *symlink_name = kobject_name(&pdev->dev.kobj); if (mts_io_dd && mts_io_dd->f_platform_bus_symlink) { - dev_info(pdev->dev,"Removing %s symlink from platform_bus", symlink_name); + dev_info(&pdev->dev,"Removing %s symlink from platform_bus", symlink_name); sysfs_remove_link(&platform_bus.kobj, symlink_name); } #endif // PLATFORM_BUS_SYMLINK -- cgit v1.2.3