Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp42988pxy; Wed, 21 Apr 2021 17:57:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvo9BtK/FEGGOtKHZvS99M1dgC568GmvHRGf0rFUnOOKGIlhLFpQRMMYi/UqYz20DDVCFA X-Received: by 2002:a17:90a:1190:: with SMTP id e16mr1021841pja.110.1619053069344; Wed, 21 Apr 2021 17:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619053069; cv=none; d=google.com; s=arc-20160816; b=XRXTw5YDFaAF40Hkm5siaIjEl8AO5StMOUtvHkjJelRDoAkJsvUgWq2tT5gmykDK1j +yGnpooYV6BJfOkkMJFkgp5jlLfwhTX0GIqNC0RwM6R6Bnfkgy9LRuLZUZEw1GKApuEI ZwD1LV0chyVw0OyQ2ZgXJRxDbqHIsSXJcwyJu+xf1ONaYqC3Q+IwwZ8UtHivXjkUcGF5 2quJIqprj1WCtbBNXGVwi0zBT65DnE/qH3ti9M/hbVfbWmX+sNhOibNqXWHiTTmeFTJP 7iCe9mN/Q7DP8+b9WvivvQSj4HFQWpyIfZTKmUf0aUUScPPGdG67uAQeQ9/HLBb2CB2I 1rNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=aD+4xeKChFpFZXv5nduzdBLjX9aMa4fl8QYykAKSd/Q=; b=umDD9XPDONwDjKGQftipaP8zbI0CpKop2I1y/22bsvFabB92KUI7JWtqdprmT+/REw XplrL3NWqiIl+qhv6NmLiKwzjIydWXVwrtgiPhiuq5PDxU8UKoJTGj1y3RbQAUasMWn6 TD6w9x8rghIhOnyLGL0rm5z7vmg7J8ipjQzV5vyptesTNJZxP5K1tm6PJISk6eapBS+l LOnojxkcanssdnuhtB8Zt+w68+SpJFk7AKn9zEyDVXcMRADhPpX1oowUuCPmXbkB4UnO zrvknmRT6SDYzXBx6n/XKbJKGSdV7jD4rGd5gfjNjhoFC/qJIsN4PtR6SjNAhfcbrRaH Jrig== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b=NRrZivBf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mailo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b20si1305873pls.132.2021.04.21.17.57.37; Wed, 21 Apr 2021 17:57:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b=NRrZivBf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mailo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237488AbhDUQvx (ORCPT + 99 others); Wed, 21 Apr 2021 12:51:53 -0400 Received: from msg-2.mailo.com ([213.182.54.12]:55568 "EHLO msg-2.mailo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236337AbhDUQvw (ORCPT ); Wed, 21 Apr 2021 12:51:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1619023739; bh=kO86EZ56z9kx93HN97W2Kc1jw38KW2HRp30zM/cXH9w=; h=X-EA-Auth:Date:From:To:Cc:Subject:Message-ID:MIME-Version: Content-Type; b=NRrZivBf9mEo8IpEJsWK2MD6Q1gGxq0LmaAWj+gS37fvI/NLvV/ObRDNveUucf6Gz TBQznhE9UPhul8lUKZTIrpG4w0R3Y6qYIMJ0fYtnliZ9nuS82O/Ec+j3UK6Ez738yn 5cGq3AehrFmz+4CfSJuj2dcoUSfvG17gbCaOoEDY= Received: by 192.168.90.12 [192.168.90.12] with ESMTP via ip-206.mailobj.net [213.182.55.206] Wed, 21 Apr 2021 18:48:58 +0200 (CEST) X-EA-Auth: CWc/7tw3YHir2Ke1oWYL2f9zDXPAUWn8mA3hQHW2H4Gu7pXtxIju5Qr6a38k3Fj3kS7CuNmt2Un3wOTfG90G4eeGOs3TFHHy Date: Wed, 21 Apr 2021 22:18:49 +0530 From: Deepak R Varma To: Mauro Carvalho Chehab , Sakari Ailus , Greg Kroah-Hartman Cc: linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, mh12gx2825@gmail.com, drv@mailo.com Subject: [PATCH v1 0/6] staging: media: atomisp: code cleanup fixes Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set addresses different kinds of checkpatch WARNING and CHECK complaints. Note: The patches should be applied in the ascending order. Changes in v1: Generic change: 1. The patch set is being resent from an email account that matches with the patch signed-of-by tag. Issue highlighted by Hans Verkuil. Patch specific changes: 1. patch 1/6 : none 2. patch 2/6 : none 3. patch 3/6 : none 4. patch 4/6 : implement following changes suggested by Fabio Aiuto a. Corrected commenting style b. Similar style implemented for other comment blocks in the same files. 5. patch 5/6 : none 6. patch 6/6: implement following changes suggested by Fabio Aiuto a. use dev_info instead of pr_info b. update patch log message accordingly Deepak R Varma (6): staging: media: atomisp: improve function argument alignment staging: media: atomisp: balance braces around if...else block staging: media: atomisp: use __func__ over function names staging: media: atomisp: reformat code comment blocks staging: media: atomisp: fix CamelCase variable naming staging: media: atomisp: replace raw printk() by dev_info() .../media/atomisp/i2c/atomisp-gc0310.c | 14 +-- .../media/atomisp/i2c/atomisp-gc2235.c | 29 ++--- .../atomisp/i2c/atomisp-libmsrlisthelper.c | 6 +- .../media/atomisp/i2c/atomisp-lm3554.c | 2 +- .../media/atomisp/i2c/atomisp-mt9m114.c | 106 ++++++++++-------- .../media/atomisp/i2c/atomisp-ov2680.c | 43 ++++--- .../media/atomisp/i2c/atomisp-ov2722.c | 10 +- 7 files changed, 116 insertions(+), 94 deletions(-) -- 2.25.1