regulator: dbx500: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 13:37:01 +0000 (15:37 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 18 Aug 2020 17:38:26 +0000 (18:38 +0100)
commit8bdaa43808b7481eb61b251ae0e4ca308ee1093d
tree9a5d1738e803dd20bf6876f749569ef3b58ea982
parent66c3b96a7bd042427d2e0eaa8704536828f8235f
regulator: dbx500: no need to check return value of debugfs_create functions

When calling debugfs functions, there is no need to ever check the
return value.  The function can work or not, but the code logic should
never do something different based on this.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: linux-kernel@vger.kernel.org
Link: https://lore.kernel.org/r/20200818133701.462958-1-gregkh@linuxfoundation.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/dbx500-prcmu.c