All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20181117170517.29ebecdd@archlinux>

diff --git a/a/1.txt b/N1/1.txt
index c45be73..dc484ad 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -2,11 +2,9 @@ On Sat, 17 Nov 2018 04:25:37 +0530
 Shreeya Patel <shreeya.patel23498@gmail.com> wrote:
 
 > When the kernel starts up, it kicks off compiled-in drivers
-> that match =E2=80=9Ccompatible=E2=80=9D entries it finds in the device tr=
-ee.
+> that match “compatible” entries it finds in the device tree.
 > At a later stage (when /lib/modules is available), all kernel modules
-> that match =E2=80=9Ccompatible=E2=80=9D entries in the device tree are lo=
-aded.
+> that match “compatible” entries in the device tree are loaded.
 > Hence to be able to use device tree for ADT7316, add of_device_id
 > table which specifies the supported devices through compatible
 > property.
@@ -28,34 +26,32 @@ as those are fairly random part numbers!
 Thanks,
 
 Jonathan
->=20
+> 
 > Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
 > ---
 >  drivers/staging/iio/addac/adt7316-i2c.c | 12 ++++++++++++
 >  1 file changed, 12 insertions(+)
->=20
-> diff --git a/drivers/staging/iio/addac/adt7316-i2c.c b/drivers/staging/ii=
-o/addac/adt7316-i2c.c
+> 
+> diff --git a/drivers/staging/iio/addac/adt7316-i2c.c b/drivers/staging/iio/addac/adt7316-i2c.c
 > index 473e5e34ec00..d4b5060c18ee 100644
 > --- a/drivers/staging/iio/addac/adt7316-i2c.c
 > +++ b/drivers/staging/iio/addac/adt7316-i2c.c
-> @@ -126,6 +126,18 @@ static const struct i2c_device_id adt7316_i2c_id[] =
-=3D {
-> =20
+> @@ -126,6 +126,18 @@ static const struct i2c_device_id adt7316_i2c_id[] = {
+>  
 >  MODULE_DEVICE_TABLE(i2c, adt7316_i2c_id);
-> =20
-> +static const struct of_device_id adt7316_of_match[] =3D {
-> +	{ .compatible =3D "adi,adt7316" },
-> +	{ .compatible =3D "adi,adt7317" },
-> +	{ .compatible =3D "adi,adt7318" },
-> +	{ .compatible =3D "adi,adt7516" },
-> +	{ .compatible =3D "adi,adt7517" },
-> +	{ .compatible =3D "adi,adt7519" },
+>  
+> +static const struct of_device_id adt7316_of_match[] = {
+> +	{ .compatible = "adi,adt7316" },
+> +	{ .compatible = "adi,adt7317" },
+> +	{ .compatible = "adi,adt7318" },
+> +	{ .compatible = "adi,adt7516" },
+> +	{ .compatible = "adi,adt7517" },
+> +	{ .compatible = "adi,adt7519" },
 > +	{ },
 > +};
 > +
 > +MODULE_DEVICE_TABLE(of, adt7316_of_match);
 > +
->  static struct i2c_driver adt7316_driver =3D {
->  	.driver =3D {
->  		.name =3D "adt7316",
+>  static struct i2c_driver adt7316_driver = {
+>  	.driver = {
+>  		.name = "adt7316",
diff --git a/a/content_digest b/N1/content_digest
index 6a79b17..d4882ce 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -17,11 +17,9 @@
  "Shreeya Patel <shreeya.patel23498@gmail.com> wrote:\n"
  "\n"
  "> When the kernel starts up, it kicks off compiled-in drivers\n"
- "> that match =E2=80=9Ccompatible=E2=80=9D entries it finds in the device tr=\n"
- "ee.\n"
+ "> that match \342\200\234compatible\342\200\235 entries it finds in the device tree.\n"
  "> At a later stage (when /lib/modules is available), all kernel modules\n"
- "> that match =E2=80=9Ccompatible=E2=80=9D entries in the device tree are lo=\n"
- "aded.\n"
+ "> that match \342\200\234compatible\342\200\235 entries in the device tree are loaded.\n"
  "> Hence to be able to use device tree for ADT7316, add of_device_id\n"
  "> table which specifies the supported devices through compatible\n"
  "> property.\n"
@@ -43,36 +41,34 @@
  "Thanks,\n"
  "\n"
  "Jonathan\n"
- ">=20\n"
+ "> \n"
  "> Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>\n"
  "> ---\n"
  ">  drivers/staging/iio/addac/adt7316-i2c.c | 12 ++++++++++++\n"
  ">  1 file changed, 12 insertions(+)\n"
- ">=20\n"
- "> diff --git a/drivers/staging/iio/addac/adt7316-i2c.c b/drivers/staging/ii=\n"
- "o/addac/adt7316-i2c.c\n"
+ "> \n"
+ "> diff --git a/drivers/staging/iio/addac/adt7316-i2c.c b/drivers/staging/iio/addac/adt7316-i2c.c\n"
  "> index 473e5e34ec00..d4b5060c18ee 100644\n"
  "> --- a/drivers/staging/iio/addac/adt7316-i2c.c\n"
  "> +++ b/drivers/staging/iio/addac/adt7316-i2c.c\n"
- "> @@ -126,6 +126,18 @@ static const struct i2c_device_id adt7316_i2c_id[] =\n"
- "=3D {\n"
- "> =20\n"
+ "> @@ -126,6 +126,18 @@ static const struct i2c_device_id adt7316_i2c_id[] = {\n"
+ ">  \n"
  ">  MODULE_DEVICE_TABLE(i2c, adt7316_i2c_id);\n"
- "> =20\n"
- "> +static const struct of_device_id adt7316_of_match[] =3D {\n"
- "> +\t{ .compatible =3D \"adi,adt7316\" },\n"
- "> +\t{ .compatible =3D \"adi,adt7317\" },\n"
- "> +\t{ .compatible =3D \"adi,adt7318\" },\n"
- "> +\t{ .compatible =3D \"adi,adt7516\" },\n"
- "> +\t{ .compatible =3D \"adi,adt7517\" },\n"
- "> +\t{ .compatible =3D \"adi,adt7519\" },\n"
+ ">  \n"
+ "> +static const struct of_device_id adt7316_of_match[] = {\n"
+ "> +\t{ .compatible = \"adi,adt7316\" },\n"
+ "> +\t{ .compatible = \"adi,adt7317\" },\n"
+ "> +\t{ .compatible = \"adi,adt7318\" },\n"
+ "> +\t{ .compatible = \"adi,adt7516\" },\n"
+ "> +\t{ .compatible = \"adi,adt7517\" },\n"
+ "> +\t{ .compatible = \"adi,adt7519\" },\n"
  "> +\t{ },\n"
  "> +};\n"
  "> +\n"
  "> +MODULE_DEVICE_TABLE(of, adt7316_of_match);\n"
  "> +\n"
- ">  static struct i2c_driver adt7316_driver =3D {\n"
- ">  \t.driver =3D {\n"
- ">  \t\t.name =3D \"adt7316\","
+ ">  static struct i2c_driver adt7316_driver = {\n"
+ ">  \t.driver = {\n"
+ ">  \t\t.name = \"adt7316\","
 
-8f93d0232304655bb0709f3e4d9137d452e8612a9ee4c1e67138ca0de86105c7
+000e0588a2c646ea92c7a3fecdd4976ede47e1bedac0de637e3672bae7d75421

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.