Skip to content
Commit f0e4e867 authored by Eric Anholt's avatar Eric Anholt Committed by popcornmix
Browse files

panel-raspberrypi-touchscreen: Fix NULL deref if probe order goes wrong.



If the i2c driver hadn't pobed before the panel driver probes, then
the client would be NULL but we were looking for an ERR_PTR in the
error case.

Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent b61973e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment