From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C7B5C43463 for ; Fri, 18 Sep 2020 14:43:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 97C0421D42 for ; Fri, 18 Sep 2020 14:43:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EZfiy9VY"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="KObaMNjF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 97C0421D42 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=3lhAQFhASKYac6vXdOTdNB19JFZ/JBKbaCc0P+lSEaQ=; b=EZfiy9VYIzv+sKxjlmxxW7FW00 5xrDI+wueMy/F0OzceUMgXH4dbbg2ICXS7kVG/tIMnf/d8CFiKC/qwwAi6eAI14SXb/qvf3+tdb7C ndzqtijcw8EzwK+TyBs5DQHwl6VwNcZa1zNZDixD4efX/sQDE20gJEvLdCjukjgx3FVEUqPToNZKT oSyChsYayElWacLg8NTRuI8Bsvcqkiv4OqlJHG4Cvn1vODulVbbNAz9KiTozfVvdz1MH4RLXXxhO+ kKvpRVJvBffORU/7lCx+RKEZvwWGVzkveQb7oz0KblYUzX5w+QbdytEsaZrs7aeZLAo5P4vWmwWy+ D+7y3tjg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJHZz-0004lV-2g; Fri, 18 Sep 2020 14:41:39 +0000 Received: from mail-lj1-x244.google.com ([2a00:1450:4864:20::244]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJHZw-0004kn-8b for linux-arm-kernel@lists.infradead.org; Fri, 18 Sep 2020 14:41:37 +0000 Received: by mail-lj1-x244.google.com with SMTP id v23so5329179ljd.1 for ; Fri, 18 Sep 2020 07:41:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=N2cRR1bqs+5tj1of0U4CpX6EeJBhHim3bgiMhmU8VOo=; b=KObaMNjFxWPqr7Yolymu/lxSRIV3+LdKNPu5BVTKaKfS3JC/SvZK97LM5SFXPuloxR dIYlXIyuM+cU4LRoy9FdsB6dGbA8BPWUAqZsJRmXNbYzL8arCQgN7U9mAFRq6DtS8DsY DsVvP0Yz7lKzDni31/zz0akHosXS56jJ39JsQTFRmz+DFSt347VuiiVGlPMMw3ONChGB cw6RW7+ECDAcmwEjlepcBajumhOhX37zEtjRPqMD+owhuMNnE+HP4HceQ0PAMhqh7YkX 0mN75Slaj6aPWOlHt0Lmxwwwrr0rCX2ia65LaFKX0oL9P0UeWL0eFhQrEhysgG/rEOAV 9E2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=N2cRR1bqs+5tj1of0U4CpX6EeJBhHim3bgiMhmU8VOo=; b=lJX5L4IO+JgKuv+QAi/9z75D1m+96/AzrKwC+L2d6cOm7GGfwYg8dINNZGiiZCIhrZ tbqdf0bMfJ8TuMwzMceT5F4RxAI7XjPqJBSNPHYjTfetzv+nQQmg+vtgjRJ3lSkVlJ+3 8mAMM0819HgOszLNDtUQn1W5YpiPV1PborY55RkLSOVlFpDQj+Y/ldIjxgSu/mhgxl5y z0XKxhX3eCIa9xmIp6Aof2iCFOgH2+5rM4LXb71jPaRiz0tW4RGsFmSt8gGggCn46NBf gWeUCpQ7Y2Dr3Ln7fTmIQRWobnCRDBZzfBPxsvPzWSmOCO35qSW4pUlS0fqruyNH/IRQ PSPg== X-Gm-Message-State: AOAM532U09CXBaWSZ732g32p3uk+rfKwXFwhQ4f+9V5meA3hvbBudldx lnbXfwxq0yHzkSAaqZyvgoZLRw== X-Google-Smtp-Source: ABdhPJz8InSl5HtAfRczk5FmvB0um+7TuFkwaNvrgPKaDbWpm3HfUfDODOZNA744WeQ6w/XBO13HHw== X-Received: by 2002:a2e:9b15:: with SMTP id u21mr8180298lji.283.1600440092720; Fri, 18 Sep 2020 07:41:32 -0700 (PDT) Received: from jade (h-249-223.A175.priv.bahnhof.se. [98.128.249.223]) by smtp.gmail.com with ESMTPSA id m20sm633031ljp.132.2020.09.18.07.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Sep 2020 07:41:32 -0700 (PDT) Date: Fri, 18 Sep 2020 16:41:30 +0200 From: Jens Wiklander List-Id: To: arm@kernel.org, soc@kernel.org Subject: [GIT PULL] tee dev cleanup for v5.10 Message-ID: <20200918144130.GB1219771@jade> MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200918_104136_562376_BC8AAA6E X-CRM114-Status: GOOD ( 10.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: op-tee@lists.trustedfirmware.org, Linux Kernel Mailing List , Linux ARM , Sudeep Holla Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello arm-soc maintainers, Please pull this small cleanup in tee driver registration. There are no changes in behaviour, just a reduction in number of lines due to improved usage of the device driver framework. Thanks, Jens The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.linaro.org:/people/jens.wiklander/linux-tee.git tags/tee-dev-cleanup-for-v5.10 for you to fetch changes up to 8c05f50fe8452f9d3220efad77bef42c7b498193: tee: avoid explicit sysfs_create/delete_group by initialising dev->groups (2020-09-18 10:44:45 +0200) ---------------------------------------------------------------- Simplify tee_device_register() and friends Uses cdev_device_add() instead of the cdev_add() device_add() combination. Initializes dev->groups instead of direct calls to sysfs_create_group() and friends. ---------------------------------------------------------------- Sudeep Holla (2): tee: replace cdev_add + device_add with cdev_device_add tee: avoid explicit sysfs_create/delete_group by initialising dev->groups drivers/tee/tee_core.c | 40 +++++++--------------------------------- 1 file changed, 7 insertions(+), 33 deletions(-) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel