Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp278467ybl; Tue, 7 Jan 2020 19:15:17 -0800 (PST) X-Google-Smtp-Source: APXvYqw/iMzE1YISUDSs+D4fnX63Ljd+qUFBrVGNJHHlBoGxk5OIB2cyIHMP76K4Gbk2oHIHvM/D X-Received: by 2002:a9d:5542:: with SMTP id h2mr2496186oti.146.1578453317684; Tue, 07 Jan 2020 19:15:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578453317; cv=none; d=google.com; s=arc-20160816; b=Ge7E+bDjCX0255Fv20Rdkdqe8BDIGpFamklaLHcT4c4QK339AkHfNg4CN5TUem1KTV u0iMODp+BbPq3tVFSWQ23iIRPvXhz895xF/4UV34xKiwEO19IKNbTUiovTSaoelidP2t Xrlwg3peOZAgI+xtGENtTT4Pc3KH2uZTJyKlZGbVkUL1qPxmvzGv0jqSdb/EXRrEg90s 8qw2bmU3+7RdSw5nlvdDs+BTtwCj2puwPbPNJKiQ+O9G0QFYqLdHmsmgCdLkD9I8Ba5X 6bhiHi9oR4BvxuFkaSGXrfsvgb3/tHiHO/rzEQZ/s2K+aXoDM7vMH5hpnrFtsscMLupd NXFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=wapcydPDKs4ATem7apogb2hwKUnmiMIRnx3wrHpv2Vc=; b=MFvuwGM9Pnfkxz6iRl5HkMFK2Ho8Nht8bc1GyAZ+wSl8Q4XJB/EM/3zGNXbhl7ygil t+ESX8RGVUQuN4X8oSjHRhsGRnXkMVbLx/VolMUs/jpeLyXk1ZXZN9JllXafkwZQq5+e RwfKu1Q4SHg6ft29O0sznqloXPicfn0vgq+BVx+LBiaHgx97eesOYjAbZX4H7H7O3KLE DwPURjpvCmTS6EkF2XpVsJ6Kx2oxzKg3H3BM1AnaPmx2bjJj8YCyupo59LKPMXe+F42N BjcYEbgJXns6nqc36OAajPZHcXptg4QUuUPA+QH0vPT2ypXWXPQT4lp/7o+uFE+q5ziP ix9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O3HrivJt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g17si1094418otk.252.2020.01.07.19.15.05; Tue, 07 Jan 2020 19:15:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O3HrivJt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726634AbgAHDOW (ORCPT + 99 others); Tue, 7 Jan 2020 22:14:22 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:52187 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725908AbgAHDOV (ORCPT ); Tue, 7 Jan 2020 22:14:21 -0500 Received: by mail-pj1-f65.google.com with SMTP id j11so438211pjs.1; Tue, 07 Jan 2020 19:14:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=wapcydPDKs4ATem7apogb2hwKUnmiMIRnx3wrHpv2Vc=; b=O3HrivJtS3/D7TbOQGFmc/mSrnFXLWLOzXw1jM+kt9NJvt9u/hyheDVxQc4faygvuV pT0FDJmIhw9jBxZZPoef8ihqTmJ8dvNKkYM4hZnP6VgK/MdGk4FG76nsShQD97dqMgIZ ihwrN7DQ1ujbCw+ip0aacDW+yfx4aCMPyV01JjCu2sySe265uc+1U76YsWG9TDRRrVx1 LyITyWX6VbaDDJoI2+zak3GdIHfoyE+QlZgbsZ6NLW7YGEwGPjHsBCeDf/UaNGHr0G0Y CTAaRuGHxy7RZ9mBYNsAZ7tLMK+hf0U9AVtzMWdoIEC/w73dumleUSvdg1OVYFd0xlYz bWLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=wapcydPDKs4ATem7apogb2hwKUnmiMIRnx3wrHpv2Vc=; b=nprUq6qj8r1AmPwcmhzzDs1IrWs07dG4RmYdFFVf0tsil7j928kkSm677j0ERGLBds 6PI4GsYxdCcW2vt0R5m3agphnU9MIdzogkkiSyyaMO7hDOTnk802RrcjJ8M/SRANEUTA wqnxgk6JNR3TFIqtg4hoP+djGfx/vC55X6zKKYTw2PyMXdjyBBfkm8yzF/YjGLp1hauF ruyjFbjJQdydtNHPXhXuKVxWLbQVBWrkJRowqhb99JxFVrK4tHO+9TdROy01xQLcIeSm DMgyTCHVJevJRuZXdzdvVKBM1ClsAKmCQ2ncFqcvpNUJ1uSSZU6IHH6C80WE3iIkqQ2+ a2Zg== X-Gm-Message-State: APjAAAVYcnc/F+WAmTApZkPn2uaE+3j8yJyH7juMyV2JBXiu/5nOg3eD MBT+D/cBG9FBl9ODpftcVnQ= X-Received: by 2002:a17:902:a503:: with SMTP id s3mr2984667plq.274.1578453260832; Tue, 07 Jan 2020 19:14:20 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id z4sm1016811pfn.42.2020.01.07.19.14.18 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Jan 2020 19:14:20 -0800 (PST) From: Baolin Wang To: ohad@wizery.com, bjorn.andersson@linaro.org Cc: baolin.wang7@gmail.com, linux-omap@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH RESEND 0/3] Some improvements for OMAP hwspinlock Date: Wed, 8 Jan 2020 11:13:58 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set did some optimization for OMAP hwlock controller with changing to use some devm_xxx APIs to simplify code. Baolin Wang (3): hwspinlock: omap: Change to use devm_platform_ioremap_resource() hwspinlock: omap: Use devm_kzalloc() to allocate memory hwspinlock: omap: Use devm_hwspin_lock_register() to register hwlock controller drivers/hwspinlock/omap_hwspinlock.c | 45 ++++++++++------------------------ 1 file changed, 13 insertions(+), 32 deletions(-) -- 1.7.9.5