wkup_m3_ipc.c: Fix error checking for debugfs_create_dir
authorOsama Muhammad <osmtendev@gmail.com>
Wed, 17 May 2023 17:24:31 +0000 (22:24 +0500)
committerNishanth Menon <nm@ti.com>
Tue, 6 Jun 2023 18:50:52 +0000 (13:50 -0500)
commitb11403c93b7cddc8916b132a395b1524c02447a3
tree77f638f3045cd71ac5472d3fbd05733c9e02c0da
parent0211cc1e4fbbc81853227147bf0982c47362c567
wkup_m3_ipc.c: Fix error checking for debugfs_create_dir

This patch fixes the error checking in wkup_m3_ipc.c in
debugfs_create_dir. The correct way to check if an error occurred
is 'IS_ERR' inline function.

Signed-off-by: Osama Muhammad <osmtendev@gmail.com>
Link: https://lore.kernel.org/r/20230517172431.13507-1-osmtendev@gmail.com
Signed-off-by: Nishanth Menon <nm@ti.com>
drivers/soc/ti/wkup_m3_ipc.c