ath10k: fix debugfs_create_dir() checking
ath10k: fix debugfs_create_dir() checking

The function may return an -ENODEV if debugfs is
disabled in kernel. This should originally be
guarded by ath10k's Kconfig but it still makes
sense to check for the non-NULL errno return
value.

Reported-by: Matteo Croce <40ffa173eaacf794b2ce046f0611592180929763@openwrt.org>
Signed-off-by: Michal Kazior <956a8aa249cc11dbf2733fc41294eabd5c99981c@tieto.com>
Signed-off-by: Kalle Valo <7081a7d99b8c74c0698a728df19e3915a995d7e1@qca.qualcomm.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs