Commit 00c7a01
committed
drm/edid: make drm_edid_are_equal() more convenient for its single user
Repurpose drm_edid_are_equal() to be more helpful for its single user,
and rename drm_edid_eq(). Functionally deduce the length from the blob
size, not the blob data, making it more robust against any errors.
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1011a285d30babce3aabd8218abb7ece7dcf58a2.1713259151.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>1 parent d7bf5fc commit 00c7a01
1 file changed
Lines changed: 15 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1820 | 1820 | | |
1821 | 1821 | | |
1822 | 1822 | | |
1823 | | - | |
1824 | | - | |
1825 | | - | |
1826 | | - | |
1827 | | - | |
1828 | | - | |
1829 | | - | |
1830 | | - | |
| 1823 | + | |
| 1824 | + | |
1831 | 1825 | | |
1832 | | - | |
1833 | | - | |
1834 | | - | |
| 1826 | + | |
| 1827 | + | |
1835 | 1828 | | |
1836 | 1829 | | |
1837 | 1830 | | |
1838 | 1831 | | |
1839 | | - | |
1840 | | - | |
1841 | | - | |
1842 | | - | |
1843 | | - | |
| 1832 | + | |
| 1833 | + | |
1844 | 1834 | | |
1845 | 1835 | | |
1846 | | - | |
| 1836 | + | |
1847 | 1837 | | |
1848 | 1838 | | |
1849 | 1839 | | |
| |||
6936 | 6926 | | |
6937 | 6927 | | |
6938 | 6928 | | |
6939 | | - | |
6940 | | - | |
6941 | | - | |
6942 | | - | |
6943 | | - | |
6944 | | - | |
6945 | | - | |
6946 | | - | |
6947 | | - | |
| 6929 | + | |
| 6930 | + | |
| 6931 | + | |
| 6932 | + | |
| 6933 | + | |
| 6934 | + | |
| 6935 | + | |
| 6936 | + | |
6948 | 6937 | | |
6949 | 6938 | | |
6950 | 6939 | | |
| |||
0 commit comments