[PATCH 6.1 076/379] regmap: debugfs: Fix a erroneous check after snprintf()