1
0
Fork 0
alistair23-linux/drivers/misc/lis3lv02d
Linus Torvalds a9a08845e9 vfs: do bulk POLL* -> EPOLL* replacement
This is the mindless scripted replacement of kernel use of POLL*
variables as described by Al, done by this script:

    for V in IN OUT PRI ERR RDNORM RDBAND WRNORM WRBAND HUP RDHUP NVAL MSG; do
        L=`git grep -l -w POLL$V | grep -v '^t' | grep -v /um/ | grep -v '^sa' | grep -v '/poll.h$'|grep -v '^D'`
        for f in $L; do sed -i "-es/^\([^\"]*\)\(\<POLL$V\>\)/\\1E\\2/" $f; done
    done

with de-mangling cleanups yet to come.

NOTE! On almost all architectures, the EPOLL* constants have the same
values as the POLL* constants do.  But they keyword here is "almost".
For various bad reasons they aren't the same, and epoll() doesn't
actually work quite correctly in some cases due to this on Sparc et al.

The next patch from Al will sort out the final differences, and we
should be all done.

Scripted-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-02-11 14:34:03 -08:00
..
Kconfig Move lis3lv02d drivers to drivers/misc 2011-03-21 17:59:36 +01:00
Makefile Move lis3lv02d drivers to drivers/misc 2011-03-21 17:59:36 +01:00
lis3lv02d.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
lis3lv02d.h drivers/misc/lis3lv02d: remove lis3lv02d driver DT init 2012-09-26 14:18:11 -07:00
lis3lv02d_i2c.c misc: apds990x, bh1770glc, lis3lv02d: use to_i2c_client 2016-02-07 23:01:45 -08:00
lis3lv02d_spi.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00