Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932645AbcKHJNi (ORCPT ); Tue, 8 Nov 2016 04:13:38 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:43745 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932218AbcKHJNd (ORCPT ); Tue, 8 Nov 2016 04:13:33 -0500 X-AuditID: cbfee61a-f79916d0000062de-86-5821973ac910 From: Chanwoo Choi To: myungjoo.ham@samsung.com, kyungmin.park@samsung.com Cc: rjw@rjwysocki.net, subhashj@codeaurora.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Chanwoo Choi Subject: [PATCH v2 0/2] PM / devfreq: Use the resource-managed function for devfreq device Date: Tue, 08 Nov 2016 18:13:26 +0900 Message-id: <1478596408-2958-1-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrILMWRmVeSWpSXmKPExsVy+t9jAV3r6YoRBgs3sVlc//Kc1eJs0xt2 i8u75rBZfO49wmhxu3EFm8WZ05dYLW4s3snmwO5xua+XyWPL1XYWj74tqxg9Pm+SC2CJcrPJ SE1MSS1SSM1Lzk/JzEu3VQoNcdO1UFLIS8xNtVWK0PUNCVJSKEvMKQXyjAzQgINzgHuwkr5d glvG2YN32QrWs1Q0LN3M1MB4kLmLkZNDQsBEYs79jYwQtpjEhXvr2boYuTiEBJYySuyZsYUF wvnBKHHn8kmwKjYBLYn9L26wgdgiAuYSu5b+BOtgFuhjlLg0+TkrSEJYIEZiYVsz2AoWAVWJ ue9fMYHYvAIuEr/fHWWFWCcn8WHPI/YJjNwLGBlWMUqkFiQXFCel5xrmpZbrFSfmFpfmpesl 5+duYgQH5zOpHYwHd7kfYhTgYFTi4e2QUYwQYk0sK67MPcQowcGsJMJ7cypQiDclsbIqtSg/ vqg0J7X4EKMp0AETmaVEk/OBkZNXEm9oYm5ibmxgYW5paWKkJM7bOPtZuJBAemJJanZqakFq EUwfEwenVAOjy7XcKwy31Dy3BjY5hAotc9ZicTg+5cqDpFiV+0vW9J2emhjsKTMtdfKT/V/0 lB7d37hln9OxL2X+8+riWaQnO5t4NrfmPJwY58kyK9t9dXzf+amL90f9/r3zUWNO6P45XHeC xbO+Ci/XCfzj1sKk8CfSflLcxODrET/lmXQ86xh+7WOoEVFVYinOSDTUYi4qTgQAUhBPjGQC AAA= X-MTR: 20000000000000000@CPGS Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 540 Lines: 17 This patch just uses the resource-managed function when adding the new devfreq deivce. This function handles the memory and delete of devfreq instance automatically. Changes from v1: - Rebased these patches on linux-next (20161108) Chanwoo Choi (2): PM / devfreq: rk3399_dmc: Use the resource-managed function to add devfreq dev scsi: ufs: Use the resource-managed function to add devfreq device drivers/devfreq/rk3399_dmc.c | 2 +- drivers/scsi/ufs/ufshcd.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) -- 1.9.1