regulator: bd96801: Delete unnecessary check in probe()

The "idesc" pointer points to the middle of rdesc[] array so it can't be
NULL.  Also rdesc isn't NULL.  Delete the check.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/01cd578f-127b-4c8b-a8c6-5e11a0a2555c@stanley.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Dan Carpenter 2024-07-12 09:05:39 -05:00 • committed by Mark Brown
commit f0aaae1a58
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0