Why not use request_mem_region/ioremap in keyboard driver?

wei zheng loveheaven_zhengwei at hotmail.com
Sun Mar 1 13:44:49 CET 2009

Hi All,

       Why did line 42 in kernel/drivers/input/keyboard/neo1973kbd.c not use
request_mem_region/ioremap before gpio_get_value? I thought anything which
reads registers should use request_mem_region/ioremap before getting the
register's value. Can anyone explain why? Thanks a lot!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20090301/797fc508/attachment.htm 

More information about the openmoko-kernel mailing list