]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/spi/spi-omap-100k.c
Merge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-bionic-kernel.git] / drivers / spi / spi-omap-100k.c
index 5e91858f6f01f819dfb0f4191e7f369e6f9bbafe..79399ae9c84c485718d6390c234278b8b5a4f235 100644 (file)
 #define SPI_STATUS_WE                   (1UL << 1)
 #define SPI_STATUS_RD                   (1UL << 0)
 
-#define WRITE 0
-#define READ  1
-
-
 /* use PIO for small transfers, avoiding DMA setup/teardown overhead and
  * cache operations; better heuristics consider wordsize and bitrate.
  */
@@ -457,7 +453,6 @@ err:
 static struct platform_driver omap1_spi100k_driver = {
        .driver = {
                .name           = "omap1_spi100k",
-               .owner          = THIS_MODULE,
        },
        .probe          = omap1_spi100k_probe,
 };