power: reset: replace upstream msm-poweroff driver

This is a snapshot of the msm-poweroff driver as of msm-4.4 commit
<c605e110ab18604> (Merge "usb: gadget: composite: Return bcdUSB 0x0310
for Superspeed and higher").

In addition, make this driver selectable when ARCH_MSM || ARCH_QCOM and
fix coding style issues.

CRs-Fixed: 1058357
Change-Id: Icf928f2db324ad3193b1f969c516d84149b18531
Signed-off-by: Channagoud Kadabi <ckadabi@codeaurora.org>
4 files changed