gpio: pm8xxx-gpio: pm8xxx-mpp: set can_sleep=0 for GPIO and MPP drivers

All gpiolib callback functions in the pm8xxx-gpio and pm8xxx-mpp
drivers can be called from atomic context.  Therefore, the
can_sleep gpio_chip parameter for these drivers can be safely set
to 0.  Thus, change the can_sleep value to 0 for both of these
drivers when the gpio_chip is registered in their probe
functions.  This will remove gpiolib warning messages that are
generated when calling gpio_set_value from atomic context.

Change-Id: I8beb381f009f7e1b51d3e0cb003e532685c75c4a
Signed-off-by: David Collins <collinsd@codeaurora.org>
2 files changed