Allow the ks8851 driver to configure regulators and GPIOs specified as platform data or in device tree. Change-Id: I806f7c22ba4b75eb26720704968cdec9cd7796c8 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org> Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org> (cherry picked from commit c990b2faa3ce0b4f2361630a687abdedee4241a9) Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>