Received: by 2002:ac0:950e:0:0:0:0:0 with SMTP id f14csp131600imc; Fri, 15 Mar 2019 19:14:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwy524NDpStvDkaidWX6Gsv/dcz+hdNRD4TOXFqWxd9c2xWcjGJb772qxgrmwm5tY84nVKo X-Received: by 2002:a63:6b03:: with SMTP id g3mr6478076pgc.239.1552702475138; Fri, 15 Mar 2019 19:14:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552702475; cv=none; d=google.com; s=arc-20160816; b=EPESMx8HxupKEE91Li7c6wk9FG9xK/966Pkcm5LkD/mNqRJUQW+q+znbrk4+T4lTUJ V3ICOU/kTM8abaOrHSWpH6QKI+Lj1P4tqqTJ5RdhsTi8iVnxmu062Ih7iG1EqFh6+lok leXhc2XWBMgFXse11D0K28S9EeNeSjOrJXxqXUEgngVmddktJ+NlrcglkEcDDY3qSdiO Fta/7n/XxGPAsXvsgQiLMpAexvFPYWF/+4EmHzm6rp5Rjf6GmEY7rPOrEIoIqmqhbSJg t3j1ERr1KriFFXGeCZTS1AIh7kf/Cl0PC9fUEsM8QVJZibONFilK1fUQJS5Zr18W1y63 ZzmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=dEu8li9eItBxKNy+6G3jWEsYP5zwyb5Jqapt02O8WUQ=; b=Fiql7iFBIxVEtvN6s9TSs6oS5HqTIosTsZ5YPQvBT5A0FFlQpP0LtidHP3Z/LyrrN2 KV0/SHDCRLJGQLcIoezT8ssFdO67wGFyWnBl4+ZeFUvAQtK2AoRmrDAzsAlopOGH2Hg4 CPSFsNaZDWo1rtrKohwPlkq0LS6ZawE2tKzeoPlNQNGs7m+GSV8bnSMKU76CrCOCak78 WK2M19KUc9C8I484+jkECO91MYE4q+40gI5VM/kF59gZ2VLIPsEGiBuKia11FsqGcV0a UfCJVTqZaYRkvdn8NJN5qxumvryH/gH01HX6CfRyoCJSautu072pVYeyWURY7rXBvhrm gvUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Pg5kgU/s"; 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 i15si3301776pfa.270.2019.03.15.19.14.20; Fri, 15 Mar 2019 19:14:35 -0700 (PDT) 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="Pg5kgU/s"; 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 S1726933AbfCPCM7 (ORCPT + 99 others); Fri, 15 Mar 2019 22:12:59 -0400 Received: from mail-yw1-f67.google.com ([209.85.161.67]:41735 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726444AbfCPCM6 (ORCPT ); Fri, 15 Mar 2019 22:12:58 -0400 Received: by mail-yw1-f67.google.com with SMTP id q128so8779051ywg.8; Fri, 15 Mar 2019 19:12:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=dEu8li9eItBxKNy+6G3jWEsYP5zwyb5Jqapt02O8WUQ=; b=Pg5kgU/sEUk1NP+/ox6wOZmmCOy4b+dzMtveZE7jZJKiKu9DL7TOhd1DPQVV5kLHs3 J3A9bvy2xJPFWkHuJ8C4M0Ob82rhkH2J5cObp8H0sCSQedtRAFvwfjbJExzdFGRZH/X1 zsRL88JngKkTDjtBB4eCRjfWSmIrWU7cf8X7GpBFyK0i/YgrkEYLbsYqA9nOZQZfTTwQ 97dcuPvcWgZf8X+XRhwsPeq7Tg3NXlsKTmnJLWBtsZrvQrNVuJXz/UOSo/z+3I/R3xoB Nwowm8h8TUrNVNH8xsf0VfmAaatYZGck5ZVKu7Wh7AvHVdicx3jD7QlcTW9jzpfshgyW XdrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=dEu8li9eItBxKNy+6G3jWEsYP5zwyb5Jqapt02O8WUQ=; b=R/gtlaiOweG5NXjlUTYMOhPg6Nchs66BmJjLfT9nfd13qYypJZp1Wxqf7gxmhQgYT7 EqG9bygdNz3+Qhzna6fn/eFpfdLI6TjYaUYc80Li6Lx49biaCjDEkx/hiJhGrvh9psId u+Xn814YyPkMI3p6XMhMPNUpeb9j7LZVSHXPXJPxEHKBsa1881q8UnxHHAyYSTfA2lqE szjE0i4Ni89elOAmYgUB3+pMu9kpdaCrsnmSr7uhAkhD69hXHkBVRP7YUmYhSePHZu3w mgvA6u2CHCRCWeYYIEtdlvC3yxvdBJXiFw6vZfnbOMFz29prP0+jaFARj6I7iq3zK5iF EQZw== X-Gm-Message-State: APjAAAURSEdeyxHnUH9zdaMlKub1xsAJtVgncbus8Bd+GH9V500ulZl6 dhbbmpOQzbQqxaB6RYlLans= X-Received: by 2002:a25:b28e:: with SMTP id k14mr5842910ybj.501.1552702377848; Fri, 15 Mar 2019 19:12:57 -0700 (PDT) Received: from renatolg ([186.220.21.102]) by smtp.gmail.com with ESMTPSA id t205sm934119ywa.34.2019.03.15.19.12.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Mar 2019 19:12:57 -0700 (PDT) Date: Fri, 15 Mar 2019 23:12:53 -0300 From: Renato Lui Geh To: lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org, knaack.h@gmx.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, stefan.popa@analog.com, alexandru.Ardelean@analog.com, giuliano.belinassi@usp.br, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, kernel-usp@googlegroups.com, devicetree@vger.kernel.org Subject: [PATCH v5 02/11] staging: iio: ad7780: add missing switch default case Message-ID: <84375be9b21a30dde736e47a7e2f72c1aedf7e92.1552700652.git.renatogeh@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch simply adds a missing switch default case in read_raw. Signed-off-by: Renato Lui Geh --- drivers/staging/iio/adc/ad7780.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/iio/adc/ad7780.c b/drivers/staging/iio/adc/ad7780.c index 07e5e35c92a3..f4cd7bc3e02f 100644 --- a/drivers/staging/iio/adc/ad7780.c +++ b/drivers/staging/iio/adc/ad7780.c @@ -118,6 +118,8 @@ static int ad7780_read_raw(struct iio_dev *indio_dev, case IIO_CHAN_INFO_OFFSET: *val = -(1 << (chan->scan_type.realbits - 1)); return IIO_VAL_INT; + default: + break; } return -EINVAL; -- 2.21.0