From: Tom Rini Date: Wed, 5 Jun 2013 08:34:32 -0400 Subject: [U-Boot] input: simplify key_matrix_decode_fdt() In-Reply-To: <1369346997-24862-1-git-send-email-swarren@wwwdotorg.org> References: <1369346997-24862-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <20130605123432.GP10720@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, May 23, 2013 at 12:09:57PM -0000, Stephen Warren wrote: > From: Stephen Warren > > We know the exact property names that the code wants to process. Look > these up directly with fdt_get_property(), rather than iterating over > all properties within the node, and checking each property's name, in > a convoluted fashion, against the expected name. > > Signed-off-by: Stephen Warren Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: