diff for duplicates of <20170123121412.GL16020@dell> diff --git a/a/1.txt b/N1/1.txt index f2bb45a..6e9c39b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,9 +1,9 @@ On Thu, 19 Jan 2017, Enric Balletbo i Serra wrote: > From: Stephen Barber <smbarber@chromium.org> ->=20 +> > If the EC supports RTC host commands, expose an RTC device. ->=20 +> > Signed-off-by: Stephen Barber <smbarber@chromium.org> > Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> > --- @@ -12,20 +12,18 @@ On Thu, 19 Jan 2017, Enric Balletbo i Serra wrote: This still needs an Ack. -> diff --git a/drivers/platform/chrome/cros_ec_dev.c b/drivers/platform/chr= -ome/cros_ec_dev.c +> diff --git a/drivers/platform/chrome/cros_ec_dev.c b/drivers/platform/chrome/cros_ec_dev.c > index 47268ec..ebe029d 100644 > --- a/drivers/platform/chrome/cros_ec_dev.c > +++ b/drivers/platform/chrome/cros_ec_dev.c -> @@ -383,6 +383,24 @@ static void cros_ec_sensors_register(struct cros_ec_= -dev *ec) +> @@ -383,6 +383,24 @@ static void cros_ec_sensors_register(struct cros_ec_dev *ec) > kfree(msg); > } -> =20 -> +static const struct mfd_cell cros_ec_rtc_devs[] =3D { +> +> +static const struct mfd_cell cros_ec_rtc_devs[] = { > + { -> + .name =3D "cros-ec-rtc", -> + .id =3D -1, +> + .name = "cros-ec-rtc", +> + .id = -1, > + }, > +}; > + @@ -33,7 +31,7 @@ dev *ec) > +{ > + int ret; > + -> + ret =3D mfd_add_devices(ec->dev, 0, cros_ec_rtc_devs, +> + ret = mfd_add_devices(ec->dev, 0, cros_ec_rtc_devs, > + ARRAY_SIZE(cros_ec_rtc_devs), > + NULL, 0, NULL); > + if (ret) @@ -42,34 +40,21 @@ dev *ec) > + > static int ec_device_probe(struct platform_device *pdev) > { -> int retval =3D -ENOMEM; -> @@ -441,6 +459,10 @@ static int ec_device_probe(struct platform_device *p= -dev) +> int retval = -ENOMEM; +> @@ -441,6 +459,10 @@ static int ec_device_probe(struct platform_device *pdev) > if (cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE)) > cros_ec_sensors_register(ec); -> =20 +> > + /* check whether this EC instance has RTC host command support */ > + if (cros_ec_check_features(ec, EC_FEATURE_RTC)) > + cros_ec_rtc_register(ec); > + > return 0; -> =20 +> > dev_reg_failed: ---=20 +-- Lee Jones Linaro STMicroelectronics Landing Team Lead -Linaro.org =E2=94=82 Open source software for ARM SoCs +Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog - ---=20 -You received this message because you are subscribed to "rtc-linux". -Membership options at http://groups.google.com/group/rtc-linux . -Please read http://groups.google.com/group/rtc-linux/web/checklist -before submitting a driver. ----=20 -You received this message because you are subscribed to the Google Groups "= -rtc-linux" group. -To unsubscribe from this group and stop receiving emails from it, send an e= -mail to rtc-linux+unsubscribe@googlegroups.com. -For more options, visit https://groups.google.com/d/optout. diff --git a/a/content_digest b/N1/content_digest index 64a1078..ea44141 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020170119123032.24679-1-enric.balletbo@collabora.com\0" "ref\020170119123032.24679-4-enric.balletbo@collabora.com\0" "From\0Lee Jones <lee.jones@linaro.org>\0" - "Subject\0[rtc-linux] Re: [PATCH v2 4/4] mfd: cros_ec: add RTC as mfd subdevice\0" + "Subject\0Re: [PATCH v2 4/4] mfd: cros_ec: add RTC as mfd subdevice\0" "Date\0Mon, 23 Jan 2017 12:14:12 +0000\0" "To\0Enric Balletbo i Serra <enric.balletbo@collabora.com>\0" "Cc\0linux-kernel@vger.kernel.org" @@ -15,9 +15,9 @@ "On Thu, 19 Jan 2017, Enric Balletbo i Serra wrote:\n" "\n" "> From: Stephen Barber <smbarber@chromium.org>\n" - ">=20\n" + "> \n" "> If the EC supports RTC host commands, expose an RTC device.\n" - ">=20\n" + "> \n" "> Signed-off-by: Stephen Barber <smbarber@chromium.org>\n" "> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>\n" "> ---\n" @@ -26,20 +26,18 @@ "\n" "This still needs an Ack.\n" "\n" - "> diff --git a/drivers/platform/chrome/cros_ec_dev.c b/drivers/platform/chr=\n" - "ome/cros_ec_dev.c\n" + "> diff --git a/drivers/platform/chrome/cros_ec_dev.c b/drivers/platform/chrome/cros_ec_dev.c\n" "> index 47268ec..ebe029d 100644\n" "> --- a/drivers/platform/chrome/cros_ec_dev.c\n" "> +++ b/drivers/platform/chrome/cros_ec_dev.c\n" - "> @@ -383,6 +383,24 @@ static void cros_ec_sensors_register(struct cros_ec_=\n" - "dev *ec)\n" + "> @@ -383,6 +383,24 @@ static void cros_ec_sensors_register(struct cros_ec_dev *ec)\n" "> \tkfree(msg);\n" "> }\n" - "> =20\n" - "> +static const struct mfd_cell cros_ec_rtc_devs[] =3D {\n" + "> \n" + "> +static const struct mfd_cell cros_ec_rtc_devs[] = {\n" "> +\t{\n" - "> +\t\t.name =3D \"cros-ec-rtc\",\n" - "> +\t\t.id =3D -1,\n" + "> +\t\t.name = \"cros-ec-rtc\",\n" + "> +\t\t.id = -1,\n" "> +\t},\n" "> +};\n" "> +\n" @@ -47,7 +45,7 @@ "> +{\n" "> +\tint ret;\n" "> +\n" - "> +\tret =3D mfd_add_devices(ec->dev, 0, cros_ec_rtc_devs,\n" + "> +\tret = mfd_add_devices(ec->dev, 0, cros_ec_rtc_devs,\n" "> +\t\t\t ARRAY_SIZE(cros_ec_rtc_devs),\n" "> +\t\t\t NULL, 0, NULL);\n" "> +\tif (ret)\n" @@ -56,36 +54,23 @@ "> +\n" "> static int ec_device_probe(struct platform_device *pdev)\n" "> {\n" - "> \tint retval =3D -ENOMEM;\n" - "> @@ -441,6 +459,10 @@ static int ec_device_probe(struct platform_device *p=\n" - "dev)\n" + "> \tint retval = -ENOMEM;\n" + "> @@ -441,6 +459,10 @@ static int ec_device_probe(struct platform_device *pdev)\n" "> \tif (cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE))\n" "> \t\tcros_ec_sensors_register(ec);\n" - "> =20\n" + "> \n" "> +\t/* check whether this EC instance has RTC host command support */\n" "> +\tif (cros_ec_check_features(ec, EC_FEATURE_RTC))\n" "> +\t\tcros_ec_rtc_register(ec);\n" "> +\n" "> \treturn 0;\n" - "> =20\n" + "> \n" "> dev_reg_failed:\n" "\n" - "--=20\n" + "-- \n" "Lee Jones\n" "Linaro STMicroelectronics Landing Team Lead\n" - "Linaro.org =E2=94=82 Open source software for ARM SoCs\n" - "Follow Linaro: Facebook | Twitter | Blog\n" - "\n" - "--=20\n" - "You received this message because you are subscribed to \"rtc-linux\".\n" - "Membership options at http://groups.google.com/group/rtc-linux .\n" - "Please read http://groups.google.com/group/rtc-linux/web/checklist\n" - "before submitting a driver.\n" - "---=20\n" - "You received this message because you are subscribed to the Google Groups \"=\n" - "rtc-linux\" group.\n" - "To unsubscribe from this group and stop receiving emails from it, send an e=\n" - "mail to rtc-linux+unsubscribe@googlegroups.com.\n" - For more options, visit https://groups.google.com/d/optout. + "Linaro.org \342\224\202 Open source software for ARM SoCs\n" + Follow Linaro: Facebook | Twitter | Blog -f960591c907ea3839a04d203ef9182ba232f4e0e59c62a702f6059516c878ea0 +61c3220166b0b8c346b96a88299f6dd9e2b06e7ab4e565041c85772062e2a5fb
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.