arm: s5pv210: p1: replace preprocessor directives with function calls

* replaces #if(n)def CONFIG_MACH_P1 with machine_is_p1()

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I100010800dcd1e78439234539dd127b1231ffac4
arm: s5pv210: cpufreq: fix incorrect directive

Change-Id: I37cc0152e1978a5caafe7ac6ce6c329f2a936b11
Signed-off-by: Humberto Borba <humberos@gmail.com>