kernel: Prevent unnecessary rfkill event generation.

Prevent unnecessary rfkill event generation when the state has
not actually changed. These events have to be delivered to
relevant userspace processes, causing these processes to wake
up and do something while they could as well have slept. This
obviously results in more CPU usage, longer time-to-sleep-again
and therefore higher power consumption.

Change-Id: I3ac4e141fbdf1315b74d3bad6aa96f34b00c3f92
CRs-fixed: 398283
Signed-off-by: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Mykyta Iziumtsev <nikita.izyumtsev@gmail.com>
Signed-off-by: Deepthi Gowri <deepthi@codeaurora.org>
Patch-mainline: v3.7
Git-commit: eab4834
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
 omap4-common: only disable interrupt when port is suspending

Previously the interrupt got disabled and then the suspend
could be aborted due to data in the rx fifo. When this happened
the interrupt was never enabled again.

Change-Id: I3d145b48b56f5ef69aa062e36e4dff3ed5bdff42

Conflicts:
	drivers/tty/serial/omap-serial.c
 sync struct wl12xx_platform_data to hardware/ti/wlan

this stops the wlan-driver from accesing memory outside
of its platform-data

Change-Id: I6e0f1920d3f8528cef3528d4989c9626507aa422
ARM: remove unnecessary mach/hardware.h includes

Remove some includes of mach/hardware.h which are not needed. hardware.h
will be removed completely for tegra and cns3xxx in follow on patch.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>