Message ID | 40f052bf6491457d0c5c0ed4c3534dc6fa251c3c.1660337264.git.jahau@rocketmail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-iio-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E30C4C3F6B0 for <linux-iio@archiver.kernel.org>; Fri, 12 Aug 2022 21:55:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235252AbiHLVzA (ORCPT <rfc822;linux-iio@archiver.kernel.org>); Fri, 12 Aug 2022 17:55:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233859AbiHLVyp (ORCPT <rfc822;linux-iio@vger.kernel.org>); Fri, 12 Aug 2022 17:54:45 -0400 Received: from sonic301-22.consmr.mail.ir2.yahoo.com (sonic301-22.consmr.mail.ir2.yahoo.com [77.238.176.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F231B4439 for <linux-iio@vger.kernel.org>; Fri, 12 Aug 2022 14:54:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1660341281; bh=caI5YrEKF79TQRJda739FwKXTDN05RVs3N/XMdhJsGs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject:Reply-To; b=r2Fm2xJQnkVGpvH/FjrMzJEJc1H7QKcgCcj0RZmt40/DcFbLI+jibx+usznmZAbKeltHkH0wwM0OUmH9usjoDz1VXeWHBOk5+aN0nA+DmKEbzqfgE9L6oa3zney2bsMcHxmZUeF6bqf6pFFYT6HV0ABR5YPDw+IlI7fcMj0G4DbzQQjdo+BpyR3gmfg9Um1wISP8+ihhHRoOW3EQEA+PFTWz4I7OYil6vl2mIrH27lyw8+8WmiFk1K17QUNJp6VGupLNdoobQqlgdlxlIKlqiXBdkljLUJHGqYmAkIqbNRI/TG3THVMHEuF+w3RX/4KGnBjXYf7hMdMh9Qo5OzNV0Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1660341281; bh=S7M/3Krv3JLZ3bEmLx87WstdU5m7uqTHXZIt/gzEkW8=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=GhRdBoFa2FM+OORdp73Drd0b2PMiX70bgnHaPrFYIoCwRPyXUlbGo1mwOMQVFMCVV80btXwOY13Ojkuk6pODGtF6xo5OLaM9z8UlJl9rW+p6+AAwYMWbj120n+5Kaa5tgV3E521wZwKP3xFUVM+we7KiORAIXyTK+Ef+DbYExddVZSoVaswvD42dZQ9y0S+R3MlLfH2lAgNaXFeL63ud8anzao0fS9oPOD3zQyuAQg9pU98bF0WOqrCQBawPfZ9zTcQD7lp7GFJ7mjN1bD488sATPNL7LBoGMNwQiqATzqCMwfpYaVZNA2wDvq2WS+DpcjvSVQ+YJd7iCtM2j5EQNw== X-YMail-OSG: Hr8.rPEVM1kASFQEjhCM2Ih4RibK4e5J9IaDxHsRYsXBLOK83AnSmQsAth136tK jewwh9H8JocPixayvEJzxgyGbHngWoo50yBi02Cc8fJFO__Xl9N1uZku2VVNTjqezCSWQw.Z5Tt5 .huzejembKgmNCb20NJPphj7T4nJmRA4IRuP.Venii5VhxlAaWarh2X6mJOhhxW0Qd2.M5VrZHNM e2PFU7h.b.ht7B8U9LXu_eXpaX3aDjoOhsj7Nu5hn7j3WffpVUSKKiz6BEuAawICTZJ5hkjfkeJ7 rbagcJeLYu72VmIR_W0o2NnKQY_ZG4Gx4iRhwh3QjADETZIFrrvfMylraoIe7SYPB5J4HMdneOz2 sG7ZZLSabOFWgFsuT7DKMOSCWnlepzRT1CwW0R8O4EimNUNFsYhe5vaWVOgl8ZNb52O8D4R05oHN 525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9Qvkn_RMvCzJGdOC5OqxTa_2ErB1Qc7WBVevk1BzOo.WfnupLwxlskbjsuAcpiWjF4eLS8 C6yvUV4GGSiYazYwbr4mvigSWdpJJ3SRo2kJgtRIZjeXm7MJf.jX6TQemDqHxVXP033iHBSlc69w kkBotfjrBwXQNEp7OOHsbUUY64o_4ucewQuqmRGvGVzqT5qQaIqzieO0c.PYNb6WDHy3iRMPScGK nmCOb3S1ElFzoQLbZBTdc05VCI_c8zIPLhClXjsp0.wdHwpuDSr.YUNRR8xUDVLpHNYXA8OQmPtv ArQ4NF9FrD06x02D92C7ixhrIWAKwNgf2Cm6oOIcTBlyKtY9EfQwUR0_x5z9g2mInyU30EEwFeYm XZ2ZQr8klHv3p4.HfYB0uCFdmWaIRXJyE65VGu1EMoIbnjM8AzMz9dV0b.gvmyCmcWMNY07GM3Mv xQoGAvFFvutqqckUavUA1ECMTdNr.twQQRgM9dlhqsyYk0j0cUC9AbhUzNUBTRF.fa31ketZNUSN dKyGu3sYh9dj7E.3SBiP_TssAKnS.fu3W8lIhdeIMKHI_N5QoNKfIOk7tvSFK9ZcZuHmf3r8vdKy DafyV_yjmDy5ovlzRXMB00ZsZ88iBKXjLAxfhypaqIUsNKdSJmWfJJiZ6iMrjKpgOJc0T8OFw0g1 hXEDifhSKjA0.jqe3js1N81SYBpY4a4usZQq9YPTww05.RdSz3utFEq7ac00Hs_d2hnH0DZj6W9O XHzbDP_WMESy9n9C3x39bDc0cAaY8KRsuZFf7lGdpPCSnJNd5vaMnkQGLSzRIFUf8H0VzlGQZ15o g9DAo3rLacffZUg-- X-Sonic-MF: <jahau@rocketmail.com> Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ir2.yahoo.com with HTTP; Fri, 12 Aug 2022 21:54:41 +0000 Received: by hermes--canary-production-ir2-f74ffc99c-sqjll (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4374eb8c565a32f837f1ffd0e5de4e7d; Fri, 12 Aug 2022 21:54:38 +0000 (UTC) From: Jakob Hauser <jahau@rocketmail.com> To: Jonathan Cameron <jic23@kernel.org> Cc: Lars-Peter Clausen <lars@metafoo.de>, Linus Walleij <linus.walleij@linaro.org>, Andy Shevchenko <andy.shevchenko@gmail.com>, Hans de Goede <hdegoede@redhat.com>, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Jakob Hauser <jahau@rocketmail.com> Subject: [PATCH v6 01/14] iio: magnetometer: yas530: Change data type of hard_offsets to signed Date: Fri, 12 Aug 2022 23:54:06 +0200 Message-Id: <40f052bf6491457d0c5c0ed4c3534dc6fa251c3c.1660337264.git.jahau@rocketmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <cover.1660337264.git.jahau@rocketmail.com> References: <cover.1660337264.git.jahau@rocketmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-iio.vger.kernel.org> X-Mailing-List: linux-iio@vger.kernel.org |
Series |
Add support for magnetometer Yamaha YAS537
|
expand
|
diff --git a/drivers/iio/magnetometer/yamaha-yas530.c b/drivers/iio/magnetometer/yamaha-yas530.c index aeaa4da6923b..d1f16729c60e 100644 --- a/drivers/iio/magnetometer/yamaha-yas530.c +++ b/drivers/iio/magnetometer/yamaha-yas530.c @@ -132,7 +132,7 @@ struct yas5xx { unsigned int version; char name[16]; struct yas5xx_calibration calibration; - u8 hard_offsets[3]; + s8 hard_offsets[3]; struct iio_mount_matrix orientation; struct regmap *map; struct regulator_bulk_data regs[2];