Proper memory allocation for registers.
proper read write for ioremap.