From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f52.google.com (mail-oo1-f52.google.com [209.85.161.52]) (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 68E9C395260 for ; Mon, 13 Apr 2026 22:23:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776118985; cv=none; b=o8eRfG9rEFdFiFUDZwy8JtX5z4Ru1wgWwluxoi2tHBsX5QwtqjfMbc89fZEXWm62QTgft7EgIUzOJ1ani4dtVXLcoixKYiTWlIbQXbgXPIlrplrUHelAJGrDVVJL0ccFbHL0n01/Mjcu1/nYUnJDZ94GcaWYzRKJqBvf+ilPphc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776118985; c=relaxed/simple; bh=CyjhnVCJyeQHXQh3TCvfXIK6p+8kUFavini0sIY8G1A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gpO61KyA+qMBQkx0iYKjFFjSneZ4PiAfMvhQwL+W0IHs8YozUN/I2HMLZmKB5M2BBpwIMEeg0560WQMdrDOVzgeVXDwDMd4taThy+tmvV9ue+EjpKlmwVB8nq+csTX73JUHNt64sKAYH744YhQ98hduA0OLKdXsPbTtVxWkypDU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=FrcgIgIu; arc=none smtp.client-ip=209.85.161.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FrcgIgIu" Received: by mail-oo1-f52.google.com with SMTP id 006d021491bc7-685013eb590so3089800eaf.1 for ; Mon, 13 Apr 2026 15:23:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1776118982; x=1776723782; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RBjjFdKtvid+b3yYlgINObv/j9SDh6up5Phk1D0/oWE=; b=FrcgIgIuoCkRVf+xI1hWE27Nr9iPDFf5/xtXSMYfYNMlPEdnO9NiP4QccFJSYY4rQp wyBNRh2bplHs/rUK14ZwbxQrKX9qGLg7uBpNNqwBoqZQdgyS6HAE9qsLEYJKvLpT2vS9 TCHZKnfwkdW/mpldaAPmX32UCRdJgTc4diIGylxJhy8sFXzXzZd4/kPzflyDQtFzyX4y UxUOatj5FQMiYPrExLXWW6kaNyCwSLRFcTCoVebCaOSvwNf1g5qnrXvPdeiM+T5Qd06m HZrDx61YMQ67MHP7Boiyj23nkw96ET4IN/waX66k/99QLwXqSgDYUwHTFPFbIrd88SIt yKVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776118982; x=1776723782; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RBjjFdKtvid+b3yYlgINObv/j9SDh6up5Phk1D0/oWE=; b=Dj5k09Bf30H3ztXCf+3cx5XF6Y8kjOVYnteDMAChJFVpMMAhKZMUGUF+ByBdhdK2i4 nTB4URFXNHgHblwJ4MJB3RfeBVjLxoVTZm1F/wGDxU4RjuJeqYwUWVJyFQKp54+Vj4eI SGpBjAT2urr/40HxwBNaeWGoBSHMI/Dzma5F6iNlTClcp3KMuIe3HFUV0+Mowd1Zozxa +lts/8RNU9/w46mKCmU5vLpirv5YA9toOs/RMCrQF+rLYuu4jf6G2T0OMQQOENODeMGX jmPzVM+38LKhRXfKzJ9QOkyDhzL9A2N0CUjiv1D09Zjq8JBvJ2Vmzbpbv5DSQOYh/DiW fK+Q== X-Forwarded-Encrypted: i=1; AFNElJ+Noj9wn2GlmwaiqnHXGUj4UxtfLZbilqEdyc+sFg/5rhxMlqxSk2flAWt0/7pHHzUmDmc16e+OWob6BEk=@vger.kernel.org X-Gm-Message-State: AOJu0Yyw9hyGS+bbq/nJ2bmQm7IV5TpDE4ZBY2sWqTb9IO61yhqOpkys HPduKiTY46p+o1XpDZ3nBAGyrUV7yzSLTIAMeitaMFXKC5OpLBADCPLg X-Gm-Gg: AeBDietsz8hAfJRhp4EdxbAlBRT6lWqcBhPvsV88pad1v6Wq+e6AsA0WZeW/7BTN0IU fYYIJQcA3xb5IDYua8Kv1f/vBcMsrJAkH38QkVBb/IryRKyMME2P4juo1j+0GgnpdIn7gjFYWLW gYAxuEedxzPZcp7I7o9dsAaaShum/I8XTrxaQehKF7uTNSgeJgN0KsihmFhDPJxFX1at78GXEZF eRpvMUyMryj71/3ZGpNK/LTti7hRfhiwNc379iNDYGuxmiJV8WJVMoCQ7f+1dC9FNmJxxIZuRqw 4IsxcfYLAhQkXCIWbq54vDTbYXsVvWpbdYG9AIBqxHkL2CQ9f9CWU9yzEaYFK67zZ/9GpA2eWSS diK6NKWfpXyI8LjBf07TB9Fhu6eV+t04EhUZXdviuW58GwgU1RSQvNWPvYdr4/yC9bV52AwIZvb glhPLJey1gmnWX6dZnwJQRcHA6JO13dp5kU5oI X-Received: by 2002:a05:6820:1505:b0:683:310:77c0 with SMTP id 006d021491bc7-68bf83c8996mr6327244eaf.23.1776118982401; Mon, 13 Apr 2026 15:23:02 -0700 (PDT) Received: from Dell.cheetah-searobin.ts.net ([2600:1702:56e9:4b40::33]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-423ddb80ccesm9403198fac.13.2026.04.13.15.23.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Apr 2026 15:23:02 -0700 (PDT) From: Akash Sukhavasi To: dmitry.torokhov@gmail.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Akash Sukhavasi Subject: [PATCH 0/2] Input: analog: fix coding style violations Date: Mon, 13 Apr 2026 17:19:26 -0500 Message-ID: <20260413221928.21748-1-akash.sukhavasi@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch series resolves 15 errors and addresses several warnings reported by checkpatch.pl in the drivers/input/joystick/analog.c driver. The original code contained multiple instances of trailing statements on single-line conditionals, as well as minor indentation and spacing issues that are in violation of kernel coding style. This series breaks the cleanups into two logical parts: 1. Fixing trailing statements (moving them to their own lines). 2. Correcting indentation and parenthesis spacing. Several warnings are intentionally left unaddressed, as they require semantic or functional changes outside the scope of this formatting cleanup: - printk() to pr_warn()/pr_info() conversions - simple_strtoul() to kstrtoul() conversion - Filename strings embedded in printk() messages - Quoted string split across lines - Suspect indent on fail3 label Tested with: scripts/checkpatch.pl --strict on the final patch. Signed-off-by: Akash Sukhavasi --- Akash Sukhavasi (2): Input: analog: Fix coding style - trailing statements on same line Input: analog: Fix coding style - indentation and parenthesis spacing drivers/input/joystick/analog.c | 49 +++++++++++++++++++++++---------- 1 file changed, 34 insertions(+), 15 deletions(-) -- 2.53.0