From patchwork Thu Jan 23 15:00:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 23625 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 18AF3203BE for ; Thu, 23 Jan 2014 15:01:02 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id fa1sf4675604pad.0 for ; Thu, 23 Jan 2014 07:01:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=WtcnN2KdcOItjA3EUpBxcyVUYOtAKHRBJ35UPRXgTl8=; b=PadR6xNMrx6a1x7z2v8Mqo+co6467+/pSNSXchdE71YClgaj+yB64z60Cyus+0NcLZ eVUytElM+r+j/kEwJ9XWSKNiL1jcusnOL+s5P3A/kYQkYCb01IQ9lI1ox5WhVcV6mMRJ E1B9WdvJhkNCGQ+313Ext2Yo/+9vLY3f4CteOsrlYTf8BMm2ihwWQs2uwUHYKo/qbpB3 eyaC0qSaosPZOQk1KHUg1aDxa8GQuKSVIkuS3oqEQfqo37/Ynz8dt0wLAidU9PMs9LHV JkEUdb0bV76m0TVtSW5or2aH7wEQFly11Y2htyD/1XZLLbyMdjtC1KAvvpFRFwInBaPg v5Rw== X-Gm-Message-State: ALoCoQms6tP0QkyO1eRLKuMXjqPVnG/jsexxH5+six7dzSnq5ZiShQogAEC8wO98N//Rm7HHARrZ X-Received: by 10.66.182.137 with SMTP id ee9mr3135152pac.0.1390489261345; Thu, 23 Jan 2014 07:01:01 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.96.138 with SMTP id k10ls311680qge.66.gmail; Thu, 23 Jan 2014 07:01:01 -0800 (PST) X-Received: by 10.220.48.194 with SMTP id s2mr325923vcf.43.1390489261169; Thu, 23 Jan 2014 07:01:01 -0800 (PST) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id fb12si6791839veb.128.2014.01.23.07.01.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Jan 2014 07:01:01 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id oy12so1167565veb.37 for ; Thu, 23 Jan 2014 07:01:01 -0800 (PST) X-Received: by 10.220.103.141 with SMTP id k13mr4711493vco.25.1390489261072; Thu, 23 Jan 2014 07:01:01 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp32398vcz; Thu, 23 Jan 2014 07:01:00 -0800 (PST) X-Received: by 10.194.92.109 with SMTP id cl13mr7022500wjb.13.1390489260179; Thu, 23 Jan 2014 07:01:00 -0800 (PST) Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by mx.google.com with ESMTPS id kd9si7034043wjc.56.2014.01.23.07.00.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Jan 2014 07:00:59 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.52 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.52; Received: by mail-wg0-f52.google.com with SMTP id b13so1628802wgh.7 for ; Thu, 23 Jan 2014 07:00:59 -0800 (PST) X-Received: by 10.194.185.205 with SMTP id fe13mr7020990wjc.23.1390489259404; Thu, 23 Jan 2014 07:00:59 -0800 (PST) Received: from localhost.localdomain ([80.76.198.141]) by mx.google.com with ESMTPSA id d6sm13231933wic.9.2014.01.23.07.00.56 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Jan 2014 07:00:58 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: linus.walleij@linaro.org, torvalds@linux-foundation.org, jeffm@suse.com, Lee Jones Subject: [PATCH 1/1] openfirmware: trivial: Standardise formatting of 'struct of_device_id' definition Date: Thu, 23 Jan 2014 15:00:39 +0000 Message-Id: <1390489239-29001-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , It's commonly accepted that when defining a struct the '{' is appended onto the first line. This helps when searching for the definition using syntax similar to 'struct of_device_id {'. Signed-off-by: Lee Jones --- include/linux/mod_devicetable.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index 45e9214..090e014 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h @@ -220,8 +220,7 @@ struct serio_device_id { /* * Struct used for matching a device */ -struct of_device_id -{ +struct of_device_id { char name[32]; char type[32]; char compatible[128];