From patchwork Sat Feb 8 14:46:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 3610291 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8A03A9F344 for ; Sat, 8 Feb 2014 14:46:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9C9C52017B for ; Sat, 8 Feb 2014 14:46:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CC7A620115 for ; Sat, 8 Feb 2014 14:46:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751296AbaBHOqK (ORCPT ); Sat, 8 Feb 2014 09:46:10 -0500 Received: from mail-pb0-f46.google.com ([209.85.160.46]:35559 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751272AbaBHOqJ (ORCPT ); Sat, 8 Feb 2014 09:46:09 -0500 Received: by mail-pb0-f46.google.com with SMTP id um1so4467360pbc.33 for ; Sat, 08 Feb 2014 06:46:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version:content-transfer-encoding; bh=ZOFS9M43ff74Ruj8OgxiO7NsMXA0nmtBIVq6+iyoz9k=; b=ME+SGRdV79znjz980rFp6ZiIRH/IR+JOjOXxnFi7rBIY+YKylxFFLwKmwNKR7Xd75r TWnHqBBZBE4XRcS2VDaN3nPgq9bf4FqDWBigXOB3FDgtvYlmFlk/IcTfpckvOMkB1UJm Ygi75hkPE0DGzgbg8UjeUYNHR0/tekFXgwdJ3WH3Iv4PF2E07yC0x2/IGkDFxCZ6cCSg Fya8PW4aqbQ9zsPP77fEEDpHRyl7+gvqLXy+tmH5kjaQmz+B/Xzd4qlPqeml5esoQskd ySz8JhaT7UA6JdUGcjMF+z1i97unU1VRiZheQyDL86bA+dCOkrsdn75Q4Qy+6rlhDoiw qppQ== X-Gm-Message-State: ALoCoQl4Yff1b6ePhVBcLYPE84Lmg/03eG11KTMmbVXLUPDY/fTxTvoAIeWApjTMNM7vktWrE4gm X-Received: by 10.68.221.233 with SMTP id qh9mr26427996pbc.103.1391870769074; Sat, 08 Feb 2014 06:46:09 -0800 (PST) Received: from [192.168.0.102] (218-164-154-231.dynamic.hinet.net. [218.164.154.231]) by mx.google.com with ESMTPSA id xn12sm61346803pac.12.2014.02.08.06.46.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 08 Feb 2014 06:46:08 -0800 (PST) Message-ID: <1391870762.4110.1.camel@phoenix> Subject: [PATCH] spi: omap-100k: Remove unused MOD_REG_BIT macro From: Axel Lin To: Mark Brown Cc: Fabrice Crohas , linux-spi@vger.kernel.org Date: Sat, 08 Feb 2014 22:46:02 +0800 X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 Signed-off-by: Axel Lin --- drivers/spi/spi-omap-100k.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/spi/spi-omap-100k.c b/drivers/spi/spi-omap-100k.c index 0d32054..657184a 100644 --- a/drivers/spi/spi-omap-100k.c +++ b/drivers/spi/spi-omap-100k.c @@ -99,13 +99,6 @@ struct omap1_spi100k_cs { int word_len; }; -#define MOD_REG_BIT(val, mask, set) do { \ - if (set) \ - val |= mask; \ - else \ - val &= ~mask; \ -} while (0) - static void spi100k_enable_clock(struct spi_master *master) { unsigned int val;