Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp766517rdb; Sat, 6 Jan 2024 08:08:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9bwCQhJnMnbx6SNQbxnpBlDNXwzRDEEPWiF15p3PI+cjqbyFfxKvriLtqgNonhd5svdTh X-Received: by 2002:a50:c2d1:0:b0:557:7e12:1c01 with SMTP id u17-20020a50c2d1000000b005577e121c01mr69130edf.85.1704557291960; Sat, 06 Jan 2024 08:08:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704557291; cv=none; d=google.com; s=arc-20160816; b=jAq5TPiGhVAtkRcL7e/Wd1pzmNgUUwZPziELQXG7DFd43WYPdbnv/qsEQfKsCx7E8S FzjfveAuAZOxT/FGHohXq/c3RvjZFv3s9dNWkPk9vQ7pxn/nILdCU6nzfLO6OwVS3Buy lS1889ccEBeSnlTcX8iG/STejklyYEgz15t/nv4tvB+5+Nx5s4lPi7PWbvvlyVc3/MqZ gvpZvvR15VIME9helN4VxTcz3ZFzadG1htZ/pTFiCBD2FCA1GS5vDsBsZ9mRQf3RnC5l PidbUnS1srKOJdqy0Qq2PxCyYf46KlbS0DQP3U9bZMEwJZ2c2RmPSpNKH5lN2Y0tzYtb OCjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=sls68gnOgqSXvgrvOcCQmIAkt8Mg240KxbDexbeQxcE=; fh=ab7DxesV9ehyFhriqbBLOlsAVhdzDhImyb6isELlMbA=; b=zuHCfZe+EyszLTaHpMuLz8KpjzakaLh/s5FTM/qtjk/4g3obkcafjxfCrRWeUOVwW7 aPgt68UE5936I9Gk1AvpA8O7wqLdk4BSvinNPOZxaxHA8Yat1TB20/BVsfozbIrSWERU DDO+l/bs1LxQ8lO7U1stnnGw/qOTAOp1Rppp9pMB9rKR6iCNQz+JufovbSz57U8VmtUl r6P249LckX/PAq+ffYornuHDXL5HmkfWDE4abgaxfPMv+UDEDKjOfffPFKH7IfL/FAje o7XE6kGBDw3zSNDd9Tb3p6HHoaV1vG24PaV61R/Qc2ePh03enOxKHsg9We3HXw2RIPUH h0ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TyVVyCqT; spf=pass (google.com: domain of linux-kernel+bounces-18651-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18651-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q21-20020a50aa95000000b005546ff2dcf3si1553494edc.141.2024.01.06.08.08.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jan 2024 08:08:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18651-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TyVVyCqT; spf=pass (google.com: domain of linux-kernel+bounces-18651-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18651-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id ABDEB1F23D3C for ; Sat, 6 Jan 2024 16:08:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A119847E; Sat, 6 Jan 2024 16:08:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="TyVVyCqT" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2AC30C134; Sat, 6 Jan 2024 16:08:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704557281; x=1736093281; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Vqb1BuBpq6ps1wxzqF4mNcJIhHMSXlmXzWIUyPgEXOc=; b=TyVVyCqTgxDq1rHkoIaELojADZ8CXLOSqlBcSgges4EWl+ScOSMM5b1t f0lU2CjCmpBjrtdBbB8tDuC4SbvPkMiroAiC/+l8mez5VEvcJ+edeVX0Z sJAZMtArwyYstx9+5Ehc8bA1UH98Oxa3Bl2g/8VP2fE0Vks9Q7+B4y0fx BLU1vj919FRcsXGZ2AYS4oxjBV2Y2QvbBK7TA+puGdV84mtnwWqaMlUhh QLc0UgwZfhmevj9T8ZCdT/5Wvr+UHZIxyi9j0cE4C09O2PXHp7OYFNjyo ej9DlOx36OcMXy9q/ptlWl3NXZx9ACwJTFe63iey8Z8ZSfVEzkzND9tIJ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10945"; a="388118834" X-IronPort-AV: E=Sophos;i="6.04,337,1695711600"; d="scan'208";a="388118834" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2024 08:08:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10945"; a="784460887" X-IronPort-AV: E=Sophos;i="6.04,337,1695711600"; d="scan'208";a="784460887" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga007.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2024 08:07:58 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rM9DH-0000000Bwqt-1dlC; Sat, 06 Jan 2024 18:07:55 +0200 Date: Sat, 6 Jan 2024 18:07:55 +0200 From: Andy Shevchenko To: Petre Rodan Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Andreas Klinger , Jonathan Cameron , Lars-Peter Clausen , Angel Iglesias , Matti Vaittinen Subject: Re: [PATCH v3 10/10] iio: pressure: mprls0025pa add SPI driver Message-ID: References: <20231229092445.30180-1-petre.rodan@subdimension.ro> <20231229092445.30180-11-petre.rodan@subdimension.ro> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Sat, Jan 06, 2024 at 06:02:52PM +0200, Petre Rodan wrote: > On Sat, Jan 06, 2024 at 05:30:21PM +0200, Andy Shevchenko wrote: > > On Fri, Dec 29, 2023 at 11:24:38AM +0200, Petre Rodan wrote: > > > Add SPI component of the driver. > > > +#include > > > +#include > > > +#include > > > +#include > > > > Basically here we need additionally these ones: > > > > device.h > > errno.h > > types.h > > ok, I'll add errno.h. the other two are in the shared .h file. Yes, but it's better to follow IWYI principle. Generally speaking there is no guarantee that above will be _always_ the case. Anyway, I leave this to Jonathan. -- With Best Regards, Andy Shevchenko