From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757843AbcEFAaF (ORCPT ); Thu, 5 May 2016 20:30:05 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:51188 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755770AbcEFAaA (ORCPT ); Thu, 5 May 2016 20:30:00 -0400 From: Nishanth Menon To: Tony Lindgren CC: , , Mark Brown , Liam Girdwood , Keerthy , Stephen Warren , Laxman Dewangan , Nishanth Menon Subject: [PATCH 0/4] regulator: tps65917/palmas: Cleanups and bugfixes Date: Thu, 5 May 2016 19:29:48 -0500 Message-ID: <1462494592-27909-1-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While attempting to try and get each of the regulator nodes of palmas to be capable of using vin-supply, I noticed a few cleanups and associated bug fixes. The series is based on next-20160504 and is split up to aid readability of the patch. Tested on OMAP5-uevm and DRA7 platform. Nishanth Menon (4): regulator: tps65917/palmas: Simplify multiple dereference of ddata->palmas_matches[idx] regulator: tps65917/palmas: Simplify multiple dereference of pdata->reg_init[idx] regulator: tps65917/palmas: Handle possible memory allocation failure regulator: tps65917/palmas: Simplify multiple dereference of match->of_node drivers/regulator/palmas-regulator.c | 62 +++++++++++++++++++----------------- 1 file changed, 33 insertions(+), 29 deletions(-) -- 2.8.0