Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2680629rdb; Tue, 26 Dec 2023 01:06:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IHx6Sx7lNmGAdc13tY1S8g582UHEhdUCVRvLRRuyYI59TyC6qZDk180I0aNXdlw/K+IuPyz X-Received: by 2002:a05:6e02:318e:b0:35f:ad24:fbd6 with SMTP id cb14-20020a056e02318e00b0035fad24fbd6mr6431476ilb.93.1703581587165; Tue, 26 Dec 2023 01:06:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703581587; cv=none; d=google.com; s=arc-20160816; b=HNso/lOmT2M3MeJEGlRQ8ey/yLgPXLiL4Cyd3CMLoVhmLvmYch0j1QSj2WWenArAFK XGmgHlX2AfRn4iGvm6wvTSx0os6v0oUs9a+qeWVt0IKB1mDWVTh00Vr5WFU+OYfj24zP yj/BO13qOicFycSVyoSVhvT0Vhb3WHlfB7O8MxMyw+n043hiLuyDAMqmcXM6fQdWPF+6 jt2n9v6bqdpT1tLMGzrlVARpRAufTx/A0d9OWzg8i7g9slyWBjVBzar3jDNMsQbyEF+P QdGX+shh91ZG+OSly1ftkzmV/tCkM/ZKM2fF8qauEZ7pCuBtNQ55FRL64nTRVsdUGz+5 MglA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=Mw+VgX6rqCZAGRRzrtKww64vKWB9C04MKuOvSYYGa4s=; fh=9Y2Ys1UIW3noHfOsFf9IWcARp5vcWpjZXncTcZ8gzj0=; b=K2Z0KtbwJS9T1PgcGZ5kPmzpj7WyoY26HXcj/IfuX/0NIHBF0fRTha7dzIIon61W7e Fv6aSvPUVOTe1ztlh4OglO61hc+oOj9SX8nUzSDHNQjqyCXZP+/jCITmyVS66i0eK8gV HJ/lDNIT1Mrh/AAoB9yFaal07GRP9fqmlvqcVYcY+XDZWeqkVS7AwMaLYXFOnX+2V3uM ZJwT6oozVthgow8H0k1lbjQWoYUqjwsZG0/g9AL9B+mLt9IseoM4RtEOM+8QnZw/9DL4 ESzq30LiOWWaJYoJ9lAjw+67eO/iitL+MQqFSIWYLlYt+T5bdG+6BopEOd8SC66TFx5g WseA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="a5+fac/o"; spf=pass (google.com: domain of linux-kernel+bounces-11431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11431-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ea7-20020a056a004c0700b006d9b457649csi3651939pfb.1.2023.12.26.01.06.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 01:06:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="a5+fac/o"; spf=pass (google.com: domain of linux-kernel+bounces-11431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11431-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CFCD1283078 for ; Tue, 26 Dec 2023 09:06:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C3F344CE14; Tue, 26 Dec 2023 09:06:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="a5+fac/o" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 586F14CE01 for ; Tue, 26 Dec 2023 09:06:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-40d5ae89c72so2264395e9.2 for ; Tue, 26 Dec 2023 01:06:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703581576; x=1704186376; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=Mw+VgX6rqCZAGRRzrtKww64vKWB9C04MKuOvSYYGa4s=; b=a5+fac/oClxmGVsmJ5r8B9sHsuk00ee4As8tIjjNalHMsHUMLNoTbI1jLQplmOo24G SbJazcBFbyvKTHDHkzWu8MFwbHH4g2QgWXDza59ESEtWRnfwkwIF46rv/eCC3Wcm1PCm f9QV9hhc94djp5coPJbZIhT10ZfRE1z1e8/y5hl7fw07mH4pV2k0oOEjUMl+tqyWkZkL DCoWs6XEP+gt/POp9u+scrJAqMn06GzWonfTmDFcDagdTxt02bthvr03MXWx4ipU7SVb JS9+w91S5sQj/tweHwOOkAA0vbNUJARRJaJihMOS/wXIbZYQTTxPs6S8BBukD73+0AAQ jQ+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703581576; x=1704186376; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Mw+VgX6rqCZAGRRzrtKww64vKWB9C04MKuOvSYYGa4s=; b=W1oqCEASZkONA1HKOgWyMipfX//RtkZq7s4VsvB3PNaQoFLxZ2+8hBNFGl2b2LB3yM /GbJEePWu0cwXWttcTeIgFT8Nfl2FbN0JmEbabVEu3Mrm7Lnbp+kDUQ2mEqL3lCESP0o Oq/bryKwAf11k84UZcbcvSw40do1E3U0t7mmy4O51P+Jya/2kRkVHoIlRDFsZ3Udc2QR qkyiHamRVL6o0gMY2SytCgky40D+jCjYQV7JVfu9+zuLnedC06Wi7vt9t+Jwe0SbHTMH kwbxJszmqlhLyGtK/4U66ICuNK+OyUFHLVVH74u4HrRGB/7bFggVKsZIfFVCZCxgzNuD QoQw== X-Gm-Message-State: AOJu0Yyld1RvJ6NGNNyIG4v5FA6WZYH7O8OzPxmig1WFr8Zbdbl9Iq+B HdQ2PjLYczIwIEKyQF+z7UTm4yL/8l4wtQ== X-Received: by 2002:a05:600c:5248:b0:40d:5ab6:4697 with SMTP id fc8-20020a05600c524800b0040d5ab64697mr203623wmb.267.1703581576323; Tue, 26 Dec 2023 01:06:16 -0800 (PST) Received: from [192.168.0.22] ([78.10.206.178]) by smtp.gmail.com with ESMTPSA id l3-20020a170907914300b00a23640f7f23sm5539636ejs.47.2023.12.26.01.06.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Dec 2023 01:06:15 -0800 (PST) Message-ID: Date: Tue, 26 Dec 2023 10:06:14 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 15/15] media: s5p-mfc: drop static device variable in s5p_mfc_pm.c To: Aakarsh Jain , 'Marek Szyprowski' , 'Andrzej Hajda' , 'Mauro Carvalho Chehab' Cc: linux-fsd@tesla.coma, linux-samsung-soc@vger.kernel.org, 'Smitha T Murthy' , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231224-n-s5p-mfc-const-v1-0-a3b246470fe4@linaro.org> <20231224-n-s5p-mfc-const-v1-15-a3b246470fe4@linaro.org> <15d301da37c3$cff325e0$6fd971a0$@samsung.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeB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ZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <15d301da37c3$cff325e0$6fd971a0$@samsung.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 26/12/2023 07:21, Aakarsh Jain wrote: >> -int s5p_mfc_clock_on(void); >> -void s5p_mfc_clock_off(void); >> -int s5p_mfc_power_on(void); >> -int s5p_mfc_power_off(void); >> +int s5p_mfc_clock_on(struct s5p_mfc_dev *dev); void >> +s5p_mfc_clock_off(struct s5p_mfc_dev *dev); int >> s5p_mfc_power_on(struct >> +s5p_mfc_dev *dev); int s5p_mfc_power_off(struct s5p_mfc_dev *dev); >> >> #endif /* S5P_MFC_PM_H_ */ >> >> -- >> 2.34.1 > > Reviewed-by: Aakarsh Jain Pleasy kindly trim the replies from unnecessary context. It makes it much easier to find new content. Best regards, Krzysztof