spi-dw-core.c: Fix error checking for debugfs_create_dir
authorOsama Muhammad <osmtendev@gmail.com>
Sat, 20 May 2023 22:40:25 +0000 (03:40 +0500)
committerMark Brown <broonie@kernel.org>
Tue, 30 May 2023 12:47:04 +0000 (13:47 +0100)
commit0178f1e5d9845a31024eddd37e93a182e2dbab5d
tree098dbccf51b5bfc81db08238a6800217d531dadf
parent81ea9a0710bcf74934446f63898f0186aeb2b5b8
spi-dw-core.c: Fix error checking for debugfs_create_dir

This patch fixes the error checking in spi-dw-core.c in
debugfs_create_dir. The DebugFS kernel API is developed in
a way that the caller can safely ignore the errors that
occur during the creation of DebugFS nodes.

Signed-off-by: Osama Muhammad <osmtendev@gmail.com>
Link: https://lore.kernel.org/r/20230520224025.14928-1-osmtendev@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-core.c