Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2459628iof; Wed, 8 Jun 2022 05:31:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycoSAVLxmhbVloNH80Nd8g0R/2PlAp3e1TsBxvW093SoS619HDc1zqfjv0xm5hUWDoy/FC X-Received: by 2002:a63:8741:0:b0:3fe:ac5:ef28 with SMTP id i62-20020a638741000000b003fe0ac5ef28mr6402647pge.386.1654691504418; Wed, 08 Jun 2022 05:31:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654691504; cv=none; d=google.com; s=arc-20160816; b=hMajvGbF1HVhtXIiy5qNRE4qlI76B3SK+zYzJPChR+p7j3cgzv2fhJ3ZMBMHYqQyCi yYLa3KFC+srZ/eo+L5XNDS2Lbw1gOo6hjjCCu08BNU+tLyqwU9Vszee3XR/8i1WMpOP9 fWQe9QXMPG6FYHjSvrP5DkcIBzX6jdvtiJ/KI7EWhlGLYAWWdG4hFlscgzVf48b7Ob8n /rUCbvJoyZnWnKDvPKrmxVv0HoDBCU9RgWHrDrZcpU2BH8SHU/qPp5SJMhqSlF8LvRUy WI7lXT+0hqXpfloY0zPx3zX8ajHTtNMb60HL0/kRYN0jP4flJfFCG6t1SjsqkMAZxm6G avyw== 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; bh=u/o6uAr7qZ7KukhIfn9lpiSB4Z7q28DdLSTAnnAhl8M=; b=qFHBsmJjWA/E21CFI4CvWopiO2f5j3YYYBNfKE3YwZBTqudSwGemaS4Gv18S7sMrJn bDiUvF3cYALXkwUEgwAXJAlAyayG2TzoDVprR3Um4G97YeHS2ffWNHZEKGQaYAQKuVYD A59sP7mPyGrxBl5I4hXzghcB5BhB/sm2BARzPlyiu39vjlx4a2YZyE5zQHUSUGAp3Qqe LFIAkL6rdHC4zFk8a7y35NFs4iWMElvn4SPvoJpiGtPZbo7DdXSGH4dAMtLccZDkDsMn GayMvUHxbmGi2hrx+psyQvt8XdRuiye2h51GrU3i8oelpuA3jZBb2qRyB//apRMqA3Pk U/LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BDuo+189; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 14-20020a63164e000000b003fe26a2db63si3362587pgw.401.2022.06.08.05.31.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 05:31:44 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BDuo+189; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 655861952DE; Wed, 8 Jun 2022 05:04:36 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238646AbiFHMES (ORCPT + 99 others); Wed, 8 Jun 2022 08:04:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238551AbiFHMD7 (ORCPT ); Wed, 8 Jun 2022 08:03:59 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A283117656; Wed, 8 Jun 2022 05:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654689839; x=1686225839; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=u6KvyscW+4tTQVyeDXB/L7hOF5WmF9Q2JgTsY/byqX8=; b=BDuo+189zgj3lo+J7oubfiPlYapl26R9bm6fsaONmfLt2bf9FD33yF30 qHKrMgVxT1gD7nTtK67peWmeFnJmwb1ZPNblopYL9jnUrTgmXoLGAMQgt 0OcQARtT/eb+/lADcGtGbT7Sks7F+tMGgL00wwoLh3xHVBuFhY2GLCgHs kK17mjKPDZfWkguhegR1wP9nR+pThFu6EO9fY4azDa3Cc4s7xYItu3UQR mO8LgcyHF3FpyOVjWRYDmgwNrDWaX7cFEekmUTja1hnSiI1rucf2Zsoe2 LQ96lFb0+JpNT8b1n2Y+BNIyouUOfwZrrBGbTx0Pg2rNU7xieMruqC7hR Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10371"; a="256701612" X-IronPort-AV: E=Sophos;i="5.91,286,1647327600"; d="scan'208";a="256701612" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2022 05:03:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,286,1647327600"; d="scan'208";a="636792039" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga008.fm.intel.com with ESMTP; 08 Jun 2022 05:03:56 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id A2D8E1F8; Wed, 8 Jun 2022 15:03:59 +0300 (EEST) From: Andy Shevchenko To: Jonathan Lemon , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Richard Cochran , Andy Shevchenko Subject: [PATCH net-next v1 0/5] ptp_ocp: set of small cleanups Date: Wed, 8 Jun 2022 15:03:53 +0300 Message-Id: <20220608120358.81147-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 The set of (independent) cleanups against ptp_ocp driver. Each patch has its own description, no need to repeat it here. Andy Shevchenko (5): ptp_ocp: use dev_err_probe() ptp_ocp: use bits.h macros for all masks ptp_ocp: drop duplicate NULL check in ptp_ocp_detach() ptp_ocp: do not call pci_set_drvdata(pdev, NULL) ptp_ocp: replace kzalloc(x*y) by kcalloc(y, x) drivers/ptp/ptp_ocp.c | 36 +++++++++++++++--------------------- 1 file changed, 15 insertions(+), 21 deletions(-) -- 2.35.1