gma500: medfield: Fix possible NULL pointer dereference

The use of pointer sender should be after the NULL check.

Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
This commit is contained in:
Syam Sidhardhan 2013-02-25 04:01:48 +05:30 • committed by Patrik Jakobsson
commit 22ccb2a146