Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1297941imu; Tue, 11 Dec 2018 16:57:23 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vz0lRiWCXBU1tFT83Z7+zwFztV4II7wZWPgLOYIyrCx0FABhJRkSob/ZlAUtrEXoZ54ha6 X-Received: by 2002:a62:75d1:: with SMTP id q200mr18323009pfc.254.1544576243464; Tue, 11 Dec 2018 16:57:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544576243; cv=none; d=google.com; s=arc-20160816; b=rlDFKkHcWYlh5Swp5FWJoi26NCOr0UUZT/sM1Y+c1E2y/D1EFfZCYvSu/V0MLBlwrR QVWRnXk7WoqYtwa1cXKwDolByWxMJB5YXlu5OnThVqzzdQ9p6X25Mish5uPwcZrLP8a/ Y/gX7tJOvosIOhDqVtV4imLkryA87AYi1z0P8/GXvVV8ZurUWqjBq+2kVTu9IizLMbEZ fAHyJhabIr/MEnoAtP/+2PmlmsG0LIlvIk4xlD0badDaMZax2nkJDNWaVU2ROnQ0xDVk DSE7awU0UVcPAZ21LYk/zVKXpJaKsHNnUw9WuocZB4IKx1dV/unjYHPIKiJBWZXahImn rY0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TPkjkn4TiJ7mp9DhGzQAAKMsgbvt73YionGsm/gSjY4=; b=ceL9l151SLqxqu15wjlPFF14dKncltJSD5Tgmf9y5ekrzF3Lpux1zlxHiu+409WVWr a/BCiV7ZTBVBoMLF6WAfOUIIA5WnwznMUIP5bdiFgFXclWfUTtH+8G8nRIgBPEd4a4Ay BbZWjJFQ1GhvLnN1nfPzXB3TWRQFalR83JALYrStr1E1+V2pQB3GBodft7/RY/gaPjVH +tv/QUfkodacM6dGClcBotpi0WUd9fKyx5+NTIKCnK3mrunQAZKkXvRZxAov+g9U1nsz 0yKU6x6hsZrPnKlsG4pMbBlU1N0S3E2/Bu7/zcvMrrQ5rO6ZBATiwYDQxkvnv5vztTVr k7jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=R4BhEUmK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x128si15136925pfb.128.2018.12.11.16.57.08; Tue, 11 Dec 2018 16:57:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=R4BhEUmK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726423AbeLLAz6 (ORCPT + 99 others); Tue, 11 Dec 2018 19:55:58 -0500 Received: from mail-io1-f67.google.com ([209.85.166.67]:39752 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726387AbeLLAzz (ORCPT ); Tue, 11 Dec 2018 19:55:55 -0500 Received: by mail-io1-f67.google.com with SMTP id k7so13460611iob.6; Tue, 11 Dec 2018 16:55:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TPkjkn4TiJ7mp9DhGzQAAKMsgbvt73YionGsm/gSjY4=; b=R4BhEUmK6ZviloqxhFxozlbCP7iAwAVvHN7kvWcqq3m24OtBxNuxS6vYZkvTVj4XOh n+sNJpu0QImgOe/b+lZYFS9+V+npCAII6yn9NjvmfeldowfKOylKTZmHohdwxgMHJs/Q VdGEdLm/ymO+DFdmQttDtgB/TSZ0ORmwZX9foMkpUxwjIQAj7PPyIHlAzVdPDTOZe6RM rH1jYtD/aZAtW67iJ1C0hwf+nO1FGt6nGhfBHlCkfGye7o3Tgs3fE7IfCTEL/3DVOQ15 PY7sII97JfOk8unTA7C4iP1vq0R2A1146H2A4qzqObAvYICjsiEeNrbFW6HH4eXoaJ6b LV0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TPkjkn4TiJ7mp9DhGzQAAKMsgbvt73YionGsm/gSjY4=; b=Lv/2nSWY7xbrBYoDKGEllL0SrP3oncZHJZ1MqFPeVgp1P+DI0qYYZYtdXwwimKUqSg hPBIeEmI7+o7CzAnj/0I4wqSSS5Ruz8bdn7St9IhhnStNzaNbblLpznZsgw6jJ3rWcYz /PCJIjBqSO9bvOlB8i/iuidPLKcH5gIats9Fl8mOFBqJWMsN8IEPUpirwgLvQ8qZetH4 Q/NGjmJboJTXaa3lI8RTE/4r0OSfzbD1UROAD5QeoMtUbY68Km1Rr4r3k26E5ITN4tN9 AhmkRb8hDtoJrEoCqEDpnFoWeLaMlDmcXf+1PXapTxk0un4BTLsP5Uwe82XWIdB+Ggyi W8HA== X-Gm-Message-State: AA+aEWbI2OYL8aQgYPrfJ+WsBZdcTu4qNCYLWxz8PJhw9ycaYx9taIZk ctpHCd4SNs4LqW5Xq6cqTKY= X-Received: by 2002:a5d:8b0b:: with SMTP id k11mr14074813ion.213.1544576153694; Tue, 11 Dec 2018 16:55:53 -0800 (PST) Received: from r2700x.localdomain (c-75-70-96-103.hsd1.co.comcast.net. [75.70.96.103]) by smtp.gmail.com with ESMTPSA id l186sm1952445itl.22.2018.12.11.16.55.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 16:55:53 -0800 (PST) From: Jeremy Fertic To: Jonathan Cameron Cc: Lars-Peter Clausen , Michael Hennerich , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Jeremy Fertic Subject: [PATCH 11/11] staging: iio: adt7316: correct spelling of ADT7316_DA_EN_VIA_DAC_LDCA Date: Tue, 11 Dec 2018 17:55:03 -0700 Message-Id: <20181212005503.28054-12-jeremyfertic@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181212005503.28054-1-jeremyfertic@gmail.com> References: <20181212005503.28054-1-jeremyfertic@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change LDCA to LDAC. Signed-off-by: Jeremy Fertic --- drivers/staging/iio/addac/adt7316.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c index 58b462ad0c83..020d695ded97 100644 --- a/drivers/staging/iio/addac/adt7316.c +++ b/drivers/staging/iio/addac/adt7316.c @@ -119,7 +119,7 @@ */ #define ADT7316_ADCLK_22_5 0x1 #define ADT7316_DA_HIGH_RESOLUTION 0x2 -#define ADT7316_DA_EN_VIA_DAC_LDCA 0x8 +#define ADT7316_DA_EN_VIA_DAC_LDAC 0x8 #define ADT7516_AIN_IN_VREF 0x10 #define ADT7316_EN_IN_TEMP_PROP_DACA 0x20 #define ADT7316_EN_EX_TEMP_PROP_DACB 0x40 @@ -847,7 +847,7 @@ static ssize_t adt7316_show_DAC_update_mode(struct device *dev, struct iio_dev *dev_info = dev_to_iio_dev(dev); struct adt7316_chip_info *chip = iio_priv(dev_info); - if (!(chip->config3 & ADT7316_DA_EN_VIA_DAC_LDCA)) + if (!(chip->config3 & ADT7316_DA_EN_VIA_DAC_LDAC)) return sprintf(buf, "manual\n"); switch (chip->dac_config & ADT7316_DA_EN_MODE_MASK) { @@ -876,7 +876,7 @@ static ssize_t adt7316_store_DAC_update_mode(struct device *dev, u8 data; int ret; - if (!(chip->config3 & ADT7316_DA_EN_VIA_DAC_LDCA)) + if (!(chip->config3 & ADT7316_DA_EN_VIA_DAC_LDAC)) return -EPERM; ret = kstrtou8(buf, 10, &data); @@ -907,7 +907,7 @@ static ssize_t adt7316_show_all_DAC_update_modes(struct device *dev, struct iio_dev *dev_info = dev_to_iio_dev(dev); struct adt7316_chip_info *chip = iio_priv(dev_info); - if (chip->config3 & ADT7316_DA_EN_VIA_DAC_LDCA) + if (chip->config3 & ADT7316_DA_EN_VIA_DAC_LDAC) return sprintf(buf, "0 - auto at any MSB DAC writing\n" "1 - auto at MSB DAC AB and CD writing\n" "2 - auto at MSB DAC ABCD writing\n" @@ -929,7 +929,7 @@ static ssize_t adt7316_store_update_DAC(struct device *dev, u8 data; int ret; - if (chip->config3 & ADT7316_DA_EN_VIA_DAC_LDCA) { + if (chip->config3 & ADT7316_DA_EN_VIA_DAC_LDAC) { if ((chip->dac_config & ADT7316_DA_EN_MODE_MASK) != ADT7316_DA_EN_MODE_LDAC) return -EPERM; @@ -2128,7 +2128,7 @@ int adt7316_probe(struct device *dev, struct adt7316_bus *bus, } if (!chip->ldac_pin) { - chip->config3 |= ADT7316_DA_EN_VIA_DAC_LDCA; + chip->config3 |= ADT7316_DA_EN_VIA_DAC_LDAC; if ((chip->id & ID_FAMILY_MASK) == ID_ADT75XX) chip->config1 |= ADT7516_SEL_AIN3; } -- 2.19.1