Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp7352pxa; Mon, 3 Aug 2020 20:46:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlRUMNfvpZWzmaxg08jIs8GcPsCkUMOaTXmSbIl7lGDlWJX6iq2ChGkUCf4tOj7vCW2f/T X-Received: by 2002:a17:906:1e85:: with SMTP id e5mr19403323ejj.76.1596512806953; Mon, 03 Aug 2020 20:46:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596512806; cv=none; d=google.com; s=arc-20160816; b=g1W3k7nbr5UE40YrO/JcCjSQZlyQd+Q1YCy2SQeluc0YpvPFYOPr3XDtDFeCErwEqD nOw+mxzFZ++RcuzU9SK7OW740xpWM0hF0y0NofraesMVh+xXSxf6HUFyIsjfQhoSq8tN mNQ/v7pPLn0R9zupIM3lHFbQAS4mfFR/r99sIt9DaBQAx5HNd150Zx2+YGBtVHrM7FQ7 EaQb1/SodGLLYH1s2IaXrRmhHr6zib4xA1izM1wtmFGXAY/+ApNY6mUQdWOonOzJhqOl dhXJgCOXqsHfKEBlYZWcxcWDU0hQR9KPwLbVQNBwsUt1e6xTRTK7mz8P/kIWb9YYIMYG BQVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QB6y4mevK1LrUGVC9yPfOeZ3cHczXnUMErpAUONPbcg=; b=e+I3b10GY7jpNsgQFY8WcSt1yBVjDQKtqH1kWAII1n7OrQYO4mBt444ao5InSM2GX8 kC+HNAgeVaJacSDAcX7avt09zwIuBiXCAJhVGReiRbwPEGYkHVjDlCiKOtFdGfIuSNYI MAUP5aC3vSEtEE3nzJp8j57YfIZKOQFD3V79gDTcoQShHaoi2B1AgOjibUUwlx0WN1DE YRP8LQjBfWCA21p4rGwQKUL+jwJ6igOGElsMyGHIgTV3FZ/qGsDr4Wv8fiv5PCsEFXZq xx7UyhkMonh/aJNWDHr7e3G+EGDxRIsFkIrJJPJLer05kcLpkCmjax0KB+ajYpC1O4At p4aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=tWA1Hmha; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d10si10204639edq.275.2020.08.03.20.46.24; Mon, 03 Aug 2020 20:46:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=tWA1Hmha; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729718AbgHDDlz (ORCPT + 99 others); Mon, 3 Aug 2020 23:41:55 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:34765 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729691AbgHDDlw (ORCPT ); Mon, 3 Aug 2020 23:41:52 -0400 X-UUID: ebbb31de277b4035a9d07cf35f1799ec-20200804 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=QB6y4mevK1LrUGVC9yPfOeZ3cHczXnUMErpAUONPbcg=; b=tWA1HmhatwKsWE8HEp4Datk6fA37EAgPudGNrIUB8Y0wXgoIxtsaU+tXYlilDjPI5Ln8lVT+DcN3WDq5eK06emoSmF0zSUIZn3fySzZQWTMgPDQ38MsGpW7Fql294F0NTYmO3ESe5JQ7ur3EVUEoVD2Qh4hILcso+zCqP/Kfb9c=; X-UUID: ebbb31de277b4035a9d07cf35f1799ec-20200804 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1774067546; Tue, 04 Aug 2020 11:41:48 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 4 Aug 2020 11:41:46 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 4 Aug 2020 11:41:45 +0800 From: Xia Jiang To: Hans Verkuil , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Rick Chang CC: , , , , , Marek Szyprowski , Tomasz Figa , , , , , , Xia Jiang Subject: [PATCH v11 04/28] media: platform: Change the fixed device node number to unfixed value Date: Tue, 4 Aug 2020 11:40:38 +0800 Message-ID: <20200804034102.22983-5-xia.jiang@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200804034102.22983-1-xia.jiang@mediatek.com> References: <20200804034102.22983-1-xia.jiang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGhlIGRyaXZlciBjYW4gYmUgaW5zdGFudGlhdGVkIG11bHRpcGxlIHRpbWVzLCBlLmcuIGZvciBh IGRlY29kZXIgYW5kDQphbiBlbmNvZGVyLiBNb3Jlb3Zlciwgb3RoZXIgZHJpdmVycyBjb3VsZCBj b2V4a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