Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp813289pxb; Fri, 22 Apr 2022 11:43:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/AkoBPmOKovl1pCpGoSkPTiy+D5+5lqW0ri9sebZ9nEtMZ+jMtSv+VTczP/2PeG0r5G8I X-Received: by 2002:a05:6a00:1903:b0:4fa:fa9e:42e6 with SMTP id y3-20020a056a00190300b004fafa9e42e6mr6328475pfi.1.1650652982923; Fri, 22 Apr 2022 11:43:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650652982; cv=none; d=google.com; s=arc-20160816; b=ATOWcXdhSC+qcugWCxefWq54n/Qd1k7NZqGViEyCjBtH1zCDTqBfDvpxJIHfb1p1P3 1oCY5Pb6zKbNJOAty5TrdpsCxnPXjz+q+ykaVs317MlQaCl+lKl0TedULq/jd7Se382G 4Kvov7TFhf7ScSBcg8I/6dxwP1o8bStirvjPPc5KpWa3BgimJQ9mLbCFzY8rf7I/zHxc 60Y6KuoEzvRneBgPttQTR/rXVlalPKoCLzFxN5IN+aaov3GsbyV3IjXCWdMlh4UpTtjB Mh/NHijAfLsP8M43MkYVxdCUhEpDstDDK55Xol+5my4Z4+L6rmGZ0TSFBGr/ZnQvutZc Vo4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=UPngWza2saxpKwq+0ab0aiX205LXtiW/Nfqjv/JihfM=; b=UFV4Kw41mJlUInEjYjszQxL+EcHbkFjRSTgGctE3VBEU31PQRRovtYK9HM18sp7TU/ AklJmQs+K8C8rzicfDSNjVe6QyrrwanoDs9XOzTvA0phAKqmWD5GYs+NgduLYv5o3Dhy GwI/5J2aia0eZTDd1bJFB2/vhJzMEmA86Pl8gAxMqQuMLhfPeiJla5HnMLj4r6yANgCS WXAcZVKW+hlV7ViSXipEHSB5wSze69NDQob3cpFTInDDha8s2wN0bLfZ9q0VErfbm+FP fRiEUujd1ihNTqC+nT2U+i2ReydHKQ7Qd/iCWRTUo2WKJx9Kqi8pjjGvRhGWf9xdb2zG 4TZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=MT1y5JF3; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b="Yo7zaLB/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z1-20020a056a00240100b0050abab7d9a4si9627418pfh.321.2022.04.22.11.43.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 11:43:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=MT1y5JF3; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b="Yo7zaLB/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DD7CC12A9C1; Fri, 22 Apr 2022 11:11:36 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235502AbiDUJBA (ORCPT + 99 others); Thu, 21 Apr 2022 05:01:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239726AbiDUJA7 (ORCPT ); Thu, 21 Apr 2022 05:00:59 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D186320F71; Thu, 21 Apr 2022 01:58:10 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 7AE49210DC; Thu, 21 Apr 2022 08:58:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1650531489; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=UPngWza2saxpKwq+0ab0aiX205LXtiW/Nfqjv/JihfM=; b=MT1y5JF3OQijX8Nb0kpC3kISnyluNTci09o1tumCOxcnMju4dIkL4jNMmQzSjW0laAgFWp B9pnMrCO2klY9Q4yF6r0QJGzwx5nzQkhrqloCvvlXyXEGr9Q6/kFgUbytFIfYA4F/PnGYi XZeBecqBSWYzLY6T7axD0z/VwQTksjw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1650531489; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=UPngWza2saxpKwq+0ab0aiX205LXtiW/Nfqjv/JihfM=; b=Yo7zaLB/VQ5FhHRk0cwvK43KjSrzSttuHvU5P9gZrME693fApEltugLPiyVP13MsldxhSy ddKJIzRWk9E1/TAw== Received: from localhost.localdomain (unknown [10.100.208.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 498082C141; Thu, 21 Apr 2022 08:58:09 +0000 (UTC) From: Jiri Slaby To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby Subject: [PATCH 00/10] serial: icom: cleanup Date: Thu, 21 Apr 2022 10:57:58 +0200 Message-Id: <20220421085808.24152-1-jslaby@suse.cz> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series: * removes unused/unneeded stuff * fixes sparse warnings * removes a separate .h * avoids potentially broken macros * performs other cleanups Jiri Slaby (10): serial: icom: remove ICOM_VERSION_STR macro serial: icom: switch vague casts to container_of serial: icom: remove to_icom_adapter() and icom_kref_release() serial: icom: use proper __le types and functions serial: icom: move header content to .c serial: icom: use ARRAY_SIZE serial: icom: make icom_acfg_baud const and unsigned serial: icom: use list_for_each_entry() serial: icom: delete empty serial hooks serial: icom: remove unused struct icom_port members drivers/tty/serial/icom.c | 536 +++++++++++++++++++++++++++----------- drivers/tty/serial/icom.h | 274 ------------------- 2 files changed, 385 insertions(+), 425 deletions(-) delete mode 100644 drivers/tty/serial/icom.h -- 2.36.0