From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH v2 1/3] mfd: Add support for Cherry Trail Dollar Cove TI PMIC Date: Tue, 5 Sep 2017 08:25:53 +0100 Message-ID: <20170905072553.cffjdmlxamop4c5r@dell> References: <20170824081141.5018-1-tiwai@suse.de> <20170824081141.5018-2-tiwai@suse.de> <20170904133732.ll6cmuvnxja242gi@dell> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mail-wr0-f182.google.com ([209.85.128.182]:33005 "EHLO mail-wr0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751854AbdIEHZ5 (ORCPT ); Tue, 5 Sep 2017 03:25:57 -0400 Received: by mail-wr0-f182.google.com with SMTP id a43so6534666wrc.0 for ; Tue, 05 Sep 2017 00:25:56 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: platform-driver-x86-owner@vger.kernel.org List-ID: To: Takashi Iwai Cc: linux-kernel@vger.kernel.org, Darren Hart , Andy Shevchenko , "Rafael J . Wysocki" , Mika Westerberg , Johannes Stezenbach , platform-driver-x86@vger.kernel.org, linux-acpi@vger.kernel.org On Mon, 04 Sep 2017, Takashi Iwai wrote: > On Mon, 04 Sep 2017 15:37:32 +0200, > Lee Jones wrote: > > > > > +static struct mfd_cell dc_ti_dev[] = { > > > + { > > > + .name = "dc_ti_pwrbtn", > > > + .num_resources = ARRAY_SIZE(power_button_resources), > > > + .resources = power_button_resources, > > > + }, > > > + { > > > > Place these on the same line. > > Does this and ... > > > > > + }, > > > + { > > > + .name = "dc_ti_region", > > > + }, > > > > This should be a one line entry: > > > > { .name = "dc_ti_region" }, > > .... this match together? The result would be like: > > static struct mfd_cell dc_ti_dev[] = { > { > .name = "dc_ti_pwrbtn", > .num_resources = ARRAY_SIZE(power_button_resources), > .resources = power_button_resources, > }, { > .name = "chtdc_ti_adc", > .num_resources = ARRAY_SIZE(adc_resources), > ..... > }, { .name = "chtdc_ti_region", }, > }; > > which I find a bit inconsistent. No, it doesn't. The single lines need to be on their own. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog