From 58a3b92d33d289e2f3390b40a2c5cfd7f32cfe7a Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Wed, 24 Sep 2014 13:30:24 +0200 Subject: [PATCH] gpio: dwapb: fix pointer to integer cast The statements BUG_ON(ctx == 0) was implicitly casting a pointer to an integer for comparison. Do this with a bool test instead to get away from sparse warnings. Signed-off-by: Linus Walleij --- Reading git-format-patch failed