From patchwork Thu Dec 12 14:27:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 22295 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DD9EB23FC7 for ; Thu, 12 Dec 2013 14:27:21 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id gq1sf1690545obb.2 for ; Thu, 12 Dec 2013 06:27:21 -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=gl8LLs4KD7hxy6iz3PibiC7pRe7qcntDPpQ+tjNQN6Y=; b=HwFmnqK8Kogs2PDix0STjWJcZ9TpO3pkZRD6XO2Pvkdb9+jo0E+G8CbCjSAEIsLmXZ R0UCF+D2gCj8FgHswLHkK69l/5WrTA48QqntoSrmY3Wl7QEMgntXpduVILV36C+uGsWj YX4rkhXfVpDpyXLCBS9/v1AktAZgW4pSZVAyeFHIW6eW5q4oy03UFGzW9hvyRD+PzHuM zOZxu4IsCSWKrkOYLYGEv9y0UTU8Ljk5aLms9K+cAYqO4KFuo2s0KSMLLXYnrmVJSaGy ocenDtuB2TqkpbiSYWZ1iMQx1cTEj5oMa4IqEv4LW9IyECoq82ol34vPvfGLpvID+5zZ CNeA== X-Gm-Message-State: ALoCoQk+9uJgbc+B8wTB8iZO+ml5nnImI5rm0V0nHaiisy5j2ACanYW6HiKtRAGxKKHbgZ19Wr4I X-Received: by 10.182.236.74 with SMTP id us10mr3069206obc.36.1386858440855; Thu, 12 Dec 2013 06:27:20 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.2.69 with SMTP id 5ls513911qes.98.gmail; Thu, 12 Dec 2013 06:27:20 -0800 (PST) X-Received: by 10.52.164.203 with SMTP id ys11mr58529vdb.37.1386858440721; Thu, 12 Dec 2013 06:27:20 -0800 (PST) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id gx6si7755667vdc.11.2013.12.12.06.27.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 06:27:20 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.181 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.181; Received: by mail-ve0-f181.google.com with SMTP id oy12so337089veb.40 for ; Thu, 12 Dec 2013 06:27:20 -0800 (PST) X-Received: by 10.52.36.80 with SMTP id o16mr48032vdj.48.1386858440542; Thu, 12 Dec 2013 06:27:20 -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 u4csp358468vcz; Thu, 12 Dec 2013 06:27:20 -0800 (PST) X-Received: by 10.152.9.193 with SMTP id c1mr3577441lab.53.1386858439632; Thu, 12 Dec 2013 06:27:19 -0800 (PST) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50]) by mx.google.com with ESMTPS id yf5si9132680lab.47.2013.12.12.06.27.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 06:27:19 -0800 (PST) Received-SPF: neutral (google.com: 209.85.215.50 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) client-ip=209.85.215.50; Received: by mail-la0-f50.google.com with SMTP id el20so356652lab.37 for ; Thu, 12 Dec 2013 06:27:19 -0800 (PST) X-Received: by 10.152.203.168 with SMTP id kr8mr3909514lac.44.1386858438913; Thu, 12 Dec 2013 06:27:18 -0800 (PST) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id e10sm35130833laa.6.2013.12.12.06.27.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Dec 2013 06:27:17 -0800 (PST) From: Linus Walleij To: linux-kernel@vger.kernel.org, Greg Kroah-Hartman Cc: linux-doc@vger.kernel.org, Linus Walleij Subject: [PATCH] Documentation: fix spelling in design-patterns Date: Thu, 12 Dec 2013 15:27:12 +0100 Message-Id: <1386858432-5457-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.3.1 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.181 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: , This fixes two spelling mistakes in the design pattern doc. Reported-by: Randy Dunlap Signed-off-by: Linus Walleij --- Documentation/driver-model/design-patterns.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/driver-model/design-patterns.txt b/Documentation/driver-model/design-patterns.txt index 9ef8c1684558..ba7b2df64904 100644 --- a/Documentation/driver-model/design-patterns.txt +++ b/Documentation/driver-model/design-patterns.txt @@ -66,7 +66,7 @@ your interrupt handler. 2. container_of() ~~~~~~~~~~~~~~~~~ -Continuing on the above example we add a offloaded work: +Continuing on the above example we add an offloaded work: struct foo { spinlock_t lock; @@ -99,7 +99,7 @@ static int foo_probe(...) (...) } -The design pattern is the same for a a hrtimer or something similar that will +The design pattern is the same for an hrtimer or something similar that will return a single argument which is a pointer to a struct member in the callback.