From patchwork Fri Mar 18 02:22:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julian Calaby X-Patchwork-Id: 8615751 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 904CEC0553 for ; Fri, 18 Mar 2016 02:22:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 95055202F0 for ; Fri, 18 Mar 2016 02:22:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B2C0220279 for ; Fri, 18 Mar 2016 02:22:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752601AbcCRCWM (ORCPT ); Thu, 17 Mar 2016 22:22:12 -0400 Received: from mail-pf0-f169.google.com ([209.85.192.169]:34359 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751316AbcCRCWJ (ORCPT ); Thu, 17 Mar 2016 22:22:09 -0400 Received: by mail-pf0-f169.google.com with SMTP id x3so145786888pfb.1 for ; Thu, 17 Mar 2016 19:22:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JLk9ciZNNGomgZYPDhJmtMp8QA9UbxV4WaK3ceJmlqI=; b=OQleceKzoxbmSw0Iay3sg6Baj0FnJbTkqpa28w0mf+fNtFNymGsCVRfl7C0nhXAFyj G+ONiecIWQuQHNNX1cxr66aXvp5gstUsi06u2al2Qyg8nujvgAEOU/fZhtarquAID6gu gBQb3JIVD7SGbAYHhbcwDM4vF2x5vvKbimBqEY34zqVJQs2fSkU82VZl7u0cMsU44an4 yVtY0h2CyPmsJNtFe+8JNRiU6QtpLpL4E1mwivHnuf3PWEinejNzqPpELieeObbJjbL7 yrDOkIlsU4OxjmahXFmgUMM0OCQC7LBatAy4CdOIS2EN25/08wII+O/34+VoCyjzlNKn Inyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=JLk9ciZNNGomgZYPDhJmtMp8QA9UbxV4WaK3ceJmlqI=; b=h/NJWOdt2JUZY9JHW/6928VNtd1WbFSWrMj3NTv7O9ZYtdnNbkvi7HtIzEGpCHmF+q qteY/ZfOshJnwSX1inogzCNy/lnUnQ6+EVeWkp0yb4pU3ihbTmXgVieSSNOV79jn99ZN WCyroe9sgMG41RvoitKETk5EEWjR+dnRV9sku4Y+dyO+t0ywA2Dix7ZtJ4hUEL7W/HIA fxoKdLWLkRUjLNSmpxCv3tAYZpTVKXiZGMyTCl0NXbpA80H2KJrzltnj7NxUr/VqGQvt /KhPANFUTKdkurEeJxQ1H4cV0n+G4mz0DOSHR4RKjtUioQir1/Z4iiaIKitkStPs1yEK bqlw== X-Gm-Message-State: AD7BkJJ1fWT1QvqWKYoN8m3kzccU8RtgDjO/DXy3vAOeXb834CqsQQF+5CYUVrkotjptqQ== X-Received: by 10.67.4.233 with SMTP id ch9mr19881064pad.29.1458267728610; Thu, 17 Mar 2016 19:22:08 -0700 (PDT) Received: from multimedia.lan (C-59-101-14-180.hay.connect.net.au. [59.101.14.180]) by smtp.gmail.com with ESMTPSA id r88sm16387952pfi.9.2016.03.17.19.22.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Mar 2016 19:22:08 -0700 (PDT) From: Julian Calaby To: Kalle Valo Cc: Geliang Tang , linux-wireless@vger.kernel.org Subject: [PATCH 04/19] wl1251: use to_delayed_work() Date: Fri, 18 Mar 2016 13:22:03 +1100 Message-Id: <78647c02da62c57860d2b78e1f0bb1fb9fda1341.1458262312.git.julian.calaby@gmail.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: References: Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Geliang Tang Use to_delayed_work() instead of open-coding it. Signed-off-by: Geliang Tang [Update commit message] Signed-off-by: Julian Calaby --- drivers/net/wireless/ti/wl1251/ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ti/wl1251/ps.c b/drivers/net/wireless/ti/wl1251/ps.c index b9e27b9..fa01b0a 100644 --- a/drivers/net/wireless/ti/wl1251/ps.c +++ b/drivers/net/wireless/ti/wl1251/ps.c @@ -32,7 +32,7 @@ void wl1251_elp_work(struct work_struct *work) struct delayed_work *dwork; struct wl1251 *wl; - dwork = container_of(work, struct delayed_work, work); + dwork = to_delayed_work(work); wl = container_of(dwork, struct wl1251, elp_work); wl1251_debug(DEBUG_PSM, "elp work");