diff for duplicates of <87ty8ltor7.fsf@ti.com> diff --git a/a/1.txt b/N1/1.txt index 8fd65f1..31aa226 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -6,17 +6,17 @@ >>> [...] >>>>> >>>>> +static const struct dev_pm_ops gpio_pm_ops = { ->>>>> + .suspend = omap_gpio_suspend, ->>>>> + .resume = omap_gpio_resume, +>>>>> + ? ? .suspend ? ? ? ? ? ? ? ?= omap_gpio_suspend, +>>>>> + ? ? .resume ? ? ? ? ? ? ? ? = omap_gpio_resume, >>>>> +}; >>>> ->>>> Please use SET_SYSTEM_SLEEP_PM_OPS(). See <linux/pm.h> +>>>> Please use SET_SYSTEM_SLEEP_PM_OPS(). ?See <linux/pm.h> >>> We can use following macro to initialize .suspend and .resume callbacks. >>> But how do we initialize .runtime_suspend and .runtime_resume callbacks? >>> >>> #define SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \ >>> const struct dev_pm_ops name = { \ ->>> SET_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ +>>> ? ? ? ? SET_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ >>> } >>> >>> Do we have something similar to following where we can assign separate @@ -33,7 +33,3 @@ Perfect. Kevin --- -To unsubscribe from this list: send the line "unsubscribe linux-omap" in -the body of a message to majordomo@vger.kernel.org -More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index a25aae0..70cc1c9 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,15 +4,10 @@ "ref\0CAC83ZvL3Y-4f+nAvFb023JTPcBb-joG8JonujCMJCNUmYrSZaA@mail.gmail.com\0" "ref\087pqj9y4mi.fsf@ti.com\0" "ref\0CAC83Zv+=gbt=KTx0ZsxRfL1k4=R7c0CLSCRQ_D+PrNQOso3q-g@mail.gmail.com\0" - "From\0Kevin Hilman <khilman@ti.com>\0" - "Subject\0Re: [PATCH v6 17/25] gpio/omap: use pm-runtime framework\0" + "From\0khilman@ti.com (Kevin Hilman)\0" + "Subject\0[PATCH v6 17/25] gpio/omap: use pm-runtime framework\0" "Date\0Fri, 09 Sep 2011 14:00:28 -0700\0" - "To\0DebBarma" - " Tarun Kanti <tarun.kanti@ti.com>\0" - "Cc\0linux-omap@vger.kernel.org" - tony@atomide.com - linux-arm-kernel@lists.infradead.org - " Charulatha V <charu@ti.com>\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "\"DebBarma, Tarun Kanti\" <tarun.kanti@ti.com> writes:\n" @@ -23,17 +18,17 @@ ">>> [...]\n" ">>>>>\n" ">>>>> +static const struct dev_pm_ops gpio_pm_ops = {\n" - ">>>>> + \302\240 \302\240 .suspend \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240= omap_gpio_suspend,\n" - ">>>>> + \302\240 \302\240 .resume \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 = omap_gpio_resume,\n" + ">>>>> + ? ? .suspend ? ? ? ? ? ? ? ?= omap_gpio_suspend,\n" + ">>>>> + ? ? .resume ? ? ? ? ? ? ? ? = omap_gpio_resume,\n" ">>>>> +};\n" ">>>>\n" - ">>>> Please use SET_SYSTEM_SLEEP_PM_OPS(). \302\240See <linux/pm.h>\n" + ">>>> Please use SET_SYSTEM_SLEEP_PM_OPS(). ?See <linux/pm.h>\n" ">>> We can use following macro to initialize .suspend and .resume callbacks.\n" ">>> But how do we initialize .runtime_suspend and .runtime_resume callbacks?\n" ">>>\n" ">>> #define SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \\\n" ">>> const struct dev_pm_ops name = { \\\n" - ">>> \302\240 \302\240 \302\240 \302\240 SET_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \\\n" + ">>> ? ? ? ? SET_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \\\n" ">>> }\n" ">>>\n" ">>> Do we have something similar to following where we can assign separate\n" @@ -49,10 +44,6 @@ "\n" "Perfect.\n" "\n" - "Kevin\n" - "--\n" - "To unsubscribe from this list: send the line \"unsubscribe linux-omap\" in\n" - "the body of a message to majordomo@vger.kernel.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + Kevin -61e7c19ccbd20bc0d5d3dd5cd00cbc64edb7d47416eafe25a5a90410df7c24ea +f94bbc1bb65827ecce3401a69f47ca70c23fa3b14a945113a4071f7e8b29ec64
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.