diff for duplicates of <20170118091350.GC3718@dell> diff --git a/a/1.txt b/N1/1.txt index 1a054b3..7084f84 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -9,29 +9,27 @@ signed immutable branch from you. > On 11/01/2017 at 17:52:21 +0100, 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> > > --- > > drivers/platform/chrome/cros_ec_dev.c | 22 ++++++++++++++++++++++ > > 1 file changed, 22 insertions(+) -> >=20 -> > diff --git a/drivers/platform/chrome/cros_ec_dev.c b/drivers/platform/c= -hrome/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_e= -c_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, > > + }, > > +}; > > + @@ -39,7 +37,7 @@ c_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) @@ -48,35 +46,22 @@ c_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 = -*pdev) +> > 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 +> ---=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 8a3aea6..3161e59 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\020170111165221.17337-4-enric.balletbo@collabora.com\0" "ref\020170118020156.ynayqtudiu5j2db3@piout.net\0" "From\0Lee Jones <lee.jones@linaro.org>\0" - "Subject\0[rtc-linux] Re: [PATCH 4/4] mfd: cros_ec: add RTC as mfd subdevice\0" + "Subject\0Re: [PATCH 4/4] mfd: cros_ec: add RTC as mfd subdevice\0" "Date\0Wed, 18 Jan 2017 09:13:50 +0000\0" "To\0Alexandre Belloni <alexandre.belloni@free-electrons.com>\0" "Cc\0Enric Balletbo i Serra <enric.balletbo@collabora.com>" @@ -24,29 +24,27 @@ "\n" "> On 11/01/2017 at 17:52:21 +0100, Enric Balletbo i Serra wrote :\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" "> > drivers/platform/chrome/cros_ec_dev.c | 22 ++++++++++++++++++++++\n" "> > 1 file changed, 22 insertions(+)\n" - "> >=20\n" - "> > diff --git a/drivers/platform/chrome/cros_ec_dev.c b/drivers/platform/c=\n" - "hrome/cros_ec_dev.c\n" + "> > \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_e=\n" - "c_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" @@ -54,7 +52,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" @@ -63,37 +61,24 @@ "> > +\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 =\n" - "*pdev)\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" - ">=20\n" + "> \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 -2846fefd28b465bebb50938abb1dcb632e7fafe8b9d92cc827eb433abcda844a +3e1405d6ccc59256d59605494aa785c494ccba9438534e3499ae20f7238dbdb6
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.