We can use tuner ID instead of HW not supported flag.
Lesser code is better code.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
                        state->af9033_config[i].spec_inv = 1;
                        break;
                default:
-                       state->hw_not_supported = true;
                        warn("tuner ID=%02x not supported, please report!",
                                tmp);
                };
        struct state *state = adap->dev->priv;
        int ret;
 
-       if (state->hw_not_supported) {
+       if (!state->af9033_config[adap->id].tuner) {
+               /* unsupported tuner */
                ret = -ENODEV;
                goto err;
        }
 
 
 struct state {
        bool dual_mode;
-       bool hw_not_supported;
 
        struct af9033_config af9033_config[2];
 };