lin_gadget: use common mdelay

No need to provide our own mdelay() macro when we have a func for it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2012-04-09 13:39:54 +00:00 committed by Anatolij Gustschin
parent e3ed0575a7
commit 4e2c05873a

View File

@ -52,7 +52,6 @@
#define kmalloc(size, type) memalign(CONFIG_SYS_CACHELINE_SIZE, size) #define kmalloc(size, type) memalign(CONFIG_SYS_CACHELINE_SIZE, size)
#define kfree(addr) free(addr) #define kfree(addr) free(addr)
#define mdelay(n) ({unsigned long msec = (n); while (msec--) udelay(1000); })
#define __iomem #define __iomem
#define min_t min #define min_t min