regmap: debugfs: Add back in erroneously removed initialisation of ret
Fixes: 94cc89eb8f
("regmap: debugfs: Fix handling of name string for debugfs init delays")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20200918112002.15216-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
94cc89eb8f
commit
d36cb0205f
@ -694,9 +694,9 @@ struct regmap *__regmap_init(struct device *dev,
|
||||
const char *lock_name)
|
||||
{
|
||||
struct regmap *map;
|
||||
int ret = -EINVAL;
|
||||
enum regmap_endian reg_endian, val_endian;
|
||||
int i, j;
|
||||
int ret;
|
||||
|
||||
if (!config)
|
||||
goto err;
|
||||
|
Loading…
Reference in New Issue
Block a user