From mboxrd@z Thu Jan 1 00:00:00 1970 From: joel@jms.id.au (Joel Stanley) Date: Wed, 27 Sep 2017 16:13:38 +1000 Subject: [PATCH v2 5/5] clk: aspeed: Add reset controller In-Reply-To: <1506344081.30138.32.camel@aj.id.au> References: <20170921042641.7326-1-joel@jms.id.au> <20170921042641.7326-6-joel@jms.id.au> <1506344081.30138.32.camel@aj.id.au> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Sep 25, 2017 at 10:54 PM, Andrew Jeffery wrote: > On Thu, 2017-09-21 at 13:56 +0930, Joel Stanley wrote: >> +static const u8 aspeed_resets[] = { >> + 25, /* x-dma */ >> + 24, /* mctp */ >> + 23, /* adc */ >> + 22, /* jtag-master */ >> + 18, /* mic */ >> + 9, /* pwm */ >> + 8, /* pci-vga */ >> + 2, /* i2c */ >> + 1, /* ahb */ > > Bit of a nit, but given you define macros for the indices, maybe use designated > initialisers and drop the comments. Done. And that way I'd notice that I missed the define for the ADC :) Cheers, Joel