From patchwork Mon Apr 22 14:03:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 2472071 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id CD427DF23A for ; Mon, 22 Apr 2013 14:07:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754211Ab3DVOHD (ORCPT ); Mon, 22 Apr 2013 10:07:03 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:63117 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752531Ab3DVOHC (ORCPT ); Mon, 22 Apr 2013 10:07:02 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MLN00CYSTVGUVI0@mailout2.samsung.com> for linux-media@vger.kernel.org; Mon, 22 Apr 2013 23:07:01 +0900 (KST) X-AuditID: cbfee61a-b7f156d000002a55-7e-517544057687 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id BB.A7.10837.50445715; Mon, 22 Apr 2013 23:07:01 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MLN004L3TQD2V50@mmp1.samsung.com>; Mon, 22 Apr 2013 23:07:01 +0900 (KST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org Cc: kyungmin.park@samsung.com, sw0312.kim@samsung.com, a.hajda@samsung.com, Sylwester Nawrocki Subject: [PATCH 10/12] exynos4-is: Remove debugfs entries properly Date: Mon, 22 Apr 2013 16:03:45 +0200 Message-id: <1366639427-14253-11-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1366639427-14253-1-git-send-email-s.nawrocki@samsung.com> References: <1366639427-14253-1-git-send-email-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBJMWRmVeSWpSXmKPExsVy+t9jAV1Wl9JAgyWX9SxurTvHanG26Q27 Rc+GrawWh9+0s1rMmPySzYHVo2/LKkaPz5vkApiiuGxSUnMyy1KL9O0SuDI+XX7NXvCIreLz +ydsDYxvWLsYOTkkBEwkeld8YIKwxSQu3FvP1sXIxSEksIhRon9eExOE08EksXbbU0aQKjYB Q4neo31gtoiAvMST3htsIDazQKXEhrVPmUFsYQEnievXf7B3MXJwsAioShxcHgxi8gq4S5x7 7AViSggoSMyZZANSzAkU/bLkBtg5QgJuEptW3mCfwMi7gJFhFaNoakFyQXFSeq6hXnFibnFp Xrpecn7uJkZweDyT2sG4ssHiEKMAB6MSD+9Ks9JAIdbEsuLK3EOMEhzMSiK8d1+XBArxpiRW VqUW5ccXleakFh9ilOZgURLnPdBqHSgkkJ5YkpqdmlqQWgSTZeLglGpgzKwQ1oxmXWewPKNr xrq9Ibezvl0r65u1ZgET274/q4/0l7c+KXET9ilyuJ6oZXKQTfKQ9b2FLO12+0Qco38zXL3Z Vxoyq+yizZ/+JJtg3VNyu50snZ5715f/OzlniVG35/xEwa3/it+XSn+V2LXtiu+EN/Wc96fk LzPebWR+fv7CYxMO3/JepcRSnJFoqMVcVJwIAE/DI7ILAgAA Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Ensure both debugfs: fimc_is directory and the fw_log file are properly removed in the driver cleanup sequence. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/exynos4-is/fimc-is.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos4-is/fimc-is.c b/drivers/media/platform/exynos4-is/fimc-is.c index c4049d4..ca72b02 100644 --- a/drivers/media/platform/exynos4-is/fimc-is.c +++ b/drivers/media/platform/exynos4-is/fimc-is.c @@ -766,7 +766,7 @@ static const struct file_operations fimc_is_debugfs_fops = { static void fimc_is_debugfs_remove(struct fimc_is *is) { - debugfs_remove(is->debugfs_entry); + debugfs_remove_recursive(is->debugfs_entry); is->debugfs_entry = NULL; }