diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-02-23 20:35:06 +0300 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-02-24 15:45:50 +0300 |
| commit | 97eeb872764ce524d87d0e0e9e25b1c9fae10b3a (patch) | |
| tree | 73f822f9e00a52199fe73eb9ee804764a1a27327 /include/linux/flex_array.h | |
| parent | 7d1c42e679f920529df5cc11c6f827f17d4f8022 (diff) | |
| download | linux-97eeb872764ce524d87d0e0e9e25b1c9fae10b3a.tar.xz | |
drm/i915: Refactor translate_signal_level()
Convert the big switch statement in translate_signal_level() into a neat
table. The table also serves as documentation for the translation
tables. We'll also have other uses for this table later on.
v2: Remove superfluous space (David)
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170223173507.17600-2-ville.syrjala@linux.intel.com
Reviewed-by: David Weinehall <david.weinehall@linux.intel.com>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
