File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 6
6
7
7
#include <linux/backlight.h>
8
8
#include <linux/gpio/consumer.h>
9
- #include <linux/pinctrl/consumer.h>
10
9
#include <linux/platform_device.h>
11
10
12
11
#include <video/display_timing.h>
@@ -308,7 +307,6 @@ static int panel_probe(struct platform_device *pdev)
308
307
struct backlight_device * backlight ;
309
308
struct panel_module * panel_mod ;
310
309
struct tilcdc_module * mod ;
311
- struct pinctrl * pinctrl ;
312
310
int ret ;
313
311
314
312
/* bail out early if no DT data: */
@@ -342,10 +340,6 @@ static int panel_probe(struct platform_device *pdev)
342
340
343
341
tilcdc_module_init (mod , "panel" , & panel_module_ops );
344
342
345
- pinctrl = devm_pinctrl_get_select_default (& pdev -> dev );
346
- if (IS_ERR (pinctrl ))
347
- dev_warn (& pdev -> dev , "pins are not configured\n" );
348
-
349
343
panel_mod -> timings = of_get_display_timings (node );
350
344
if (!panel_mod -> timings ) {
351
345
dev_err (& pdev -> dev , "could not get panel timings\n" );
You can’t perform that action at this time.
0 commit comments