Bluetooth: Fix warning: using int as NULL pointer
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / bluetooth / btuart_cs.c
index 65b8d996840c286ab69ac2434f699c6eff015b2e..21e803a6a281690af1d6598ba73d800fbf70c5dc 100644 (file)
@@ -593,7 +593,7 @@ static int btuart_check_config(struct pcmcia_device *p_dev, void *priv_data)
 {
        int *try = priv_data;
 
-       if (try == 0)
+       if (!try)
                p_dev->io_lines = 16;
 
        if ((p_dev->resource[0]->end != 8) || (p_dev->resource[0]->start == 0))