commit | 3d60f33a7a7afa7ba02b96ecc835c3450bf234b1 | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Tue Sep 22 16:44:16 2020 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Tue Sep 22 16:49:54 2020 +0200 |
tree | 15c06134c3f47d3b066db42b50e383284bfc752b | |
parent | ab60523a76a4d40051ece11b23b099e273f9a485 [diff] |
can: flexcan: flexcan_probe(): make regulator xceiver optional As the transcevier regulator is optional, this patch switches from devm_regulator_get() to devm_regulator_get_optional(). This gets rid of "using dummy regulator" warning message from the regulator core, if no regulator is available. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Link: https://lore.kernel.org/r/20200922144429.2613631-8-mkl@pengutronix.de