[PATCH 6.6 158/603] regmap: debugfs: Fix a erroneous check after snprintf()