[PATCH 5.15 051/244] regmap: debugfs: Fix a erroneous check after snprintf()