diff options
| author | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-09-22 16:44:16 +0200 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-09-22 16:49:54 +0200 |
| commit | 3d60f33a7a7afa7ba02b96ecc835c3450bf234b1 (patch) | |
| tree | 15c06134c3f47d3b066db42b50e383284bfc752b /tools/perf/scripts/python/exported-sql-viewer.py | |
| 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
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
