Skip to content

Commit

Permalink
somc_panel: Rename panel_of to panel_node
Browse files Browse the repository at this point in the history
This variable was renamed: let's follow it.
  • Loading branch information
kholk committed Aug 4, 2020
1 parent 46191b5 commit 1a9efbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions somc_panel/panel_detect.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static int adc_panel_detect(struct dsi_display *display,
res[ADC_RNG_MAX] < adc_uv)
continue;

display->panel_of = next;
display->panel_node = next;

/* If we have just detected the default panel, go on */
if (res[ADC_RNG_MIN] == 0 && res[ADC_RNG_MAX] == 0x7fffffff)
Expand All @@ -105,7 +105,7 @@ static inline int single_panel_setup(struct dsi_display *display,
return -ENOENT;
}

display->panel_of = pan;
display->panel_node = pan;

return 0;
}
Expand Down

0 comments on commit 1a9efbb

Please sign in to comment.