summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2023-02-13 15:51:30 -0600
committerJohn Klug <john.klug@multitech.com>2023-02-13 16:00:48 -0600
commit971dc81b1e65296a3edaa6235cf4c447782e6872 (patch)
tree92a9eab234715dc50c0027242ff9fb6cbe6fd1d4
parentf65aa14e5248c89f7099f80ae1bf354c3d94a719 (diff)
downloadmts-io-master.tar.gz
mts-io-master.tar.bz2
mts-io-master.zip
dev_info pointer issueHEAD4.9.15master
-rw-r--r--io-module/mts-io.c2
1 files changed, 1 insertions, 1 deletions
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