These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / gpio / gpio-mcp23s08.c
index 2fc7ff8..4a41694 100644 (file)
@@ -507,11 +507,7 @@ static int mcp23s08_irq_setup(struct mcp23s08 *mcp)
                irq_set_chip_data(irq, mcp);
                irq_set_chip(irq, &mcp23s08_irq_chip);
                irq_set_nested_thread(irq, true);
-#ifdef CONFIG_ARM
-               set_irq_flags(irq, IRQF_VALID);
-#else
                irq_set_noprobe(irq);
-#endif
        }
        return 0;
 }
@@ -852,7 +848,6 @@ MODULE_DEVICE_TABLE(i2c, mcp230xx_id);
 static struct i2c_driver mcp230xx_driver = {
        .driver = {
                .name   = "mcp230xx",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(mcp23s08_i2c_of_match),
        },
        .probe          = mcp230xx_probe,
@@ -1025,7 +1020,6 @@ static struct spi_driver mcp23s08_driver = {
        .id_table       = mcp23s08_ids,
        .driver = {
                .name   = "mcp23s08",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(mcp23s08_spi_of_match),
        },
 };