Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2175089/?format=api
{ "id": 2175089, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2175089/?format=api", "project": { "id": 9, "url": "http://patchwork.ozlabs.org/api/1.0/projects/9/?format=api", "name": "Linux RTC development", "link_name": "rtc-linux", "list_id": "linux-rtc.vger.kernel.org", "list_email": "linux-rtc@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20251217-s5m-alarm-v2-3-b7bff003e94c@linaro.org>", "date": "2025-12-17T10:10:50", "name": "[RESEND,v2,3/3] mfd: sec: drop now unused struct sec_pmic_dev::irq_data", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "d415d291156e3f89cca70b81a3ea9a94e74e94a0", "submitter": { "id": 87400, "url": "http://patchwork.ozlabs.org/api/1.0/people/87400/?format=api", "name": "André Draszik", "email": "andre.draszik@linaro.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/rtc-linux/patch/20251217-s5m-alarm-v2-3-b7bff003e94c@linaro.org/mbox/", "series": [ { "id": 485656, "url": "http://patchwork.ozlabs.org/api/1.0/series/485656/?format=api", "date": "2025-12-17T10:10:50", "name": "Samsung mfd/rtc driver alarm IRQ simplification", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/485656/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2175089/checks/", "tags": {}, "headers": { "Return-Path": "\n <linux-rtc+bounces-5584-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-rtc@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=W31D2e5R;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-rtc+bounces-5584-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org\n header.b=\"W31D2e5R\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.208.52", "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=linaro.org", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=linaro.org" ], "Received": [ "from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4dWVMR2K5kz1xpw\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 17 Dec 2025 21:26:27 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 946AB30414EB\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 17 Dec 2025 10:26:04 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id A9AD1337113;\n\tWed, 17 Dec 2025 10:11:05 +0000 (UTC)", "from mail-ed1-f52.google.com (mail-ed1-f52.google.com\n [209.85.208.52])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 3CE84314A86\n\tfor <linux-rtc@vger.kernel.org>; Wed, 17 Dec 2025 10:11:02 +0000 (UTC)", "by mail-ed1-f52.google.com with SMTP id\n 4fb4d7f45d1cf-6492e7925d2so6610794a12.3\n for <linux-rtc@vger.kernel.org>; Wed, 17 Dec 2025 02:11:01 -0800 (PST)", "from puffmais2.c.googlers.com\n (244.175.141.34.bc.googleusercontent.com. [34.141.175.244])\n by smtp.gmail.com with ESMTPSA id\n 4fb4d7f45d1cf-64b3f4f5a22sm2043811a12.9.2025.12.17.02.10.55\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 17 Dec 2025 02:10:55 -0800 (PST)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1765966265; cv=none;\n b=mVFy9AQc0vwVWa821N3BimYfN82+sDQc1qIX5wPBE5n5Ej5+RbwIDiStGYDGRV30yPmMaCA7NNwYPlM4suVsnUfLUtQyD313VGUvqbyXHMNRimQ7JF8W0HMYfXQHziQtY8j0GnSyqO0iEqV+4FRd5yLSpHwTWypOii9ZbYnAiQU=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1765966265; c=relaxed/simple;\n\tbh=1ahqAflc+U7L4meIC3Q9CdG5wz6HKX/Zum9NhLjDog0=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=JY3SIKNZLPb5RgSowrtUd+g55m12yNz83jMhz0Ll0aAL4wOu5iaUGjFGVKBeHy2AKWtbd2pz3zs3TTiqG9iIdtvAYvsDIQwuUZb1I/BVb4woTc1Q3WSwf++ZHVLc46PlYpqmcSrvxioSggF2oLlX+4xFMmNvK2GZdpCxpcjIEbw=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=linaro.org;\n spf=pass smtp.mailfrom=linaro.org;\n dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org\n header.b=W31D2e5R; arc=none smtp.client-ip=209.85.208.52", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1765966260; x=1766571060;\n darn=vger.kernel.org;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:from:to:cc:subject:date:message-id\n :reply-to;\n bh=gu64FyOC35e6HYruzEiAR601OIEUitARDAoJ4iQ8jiM=;\n b=W31D2e5R+4lo3gQSd0r+0v0ULNG9k7yA9lpVUCYA6bbRgtLgd3kQ+EFEtgR09f4ZMk\n VY3rxd2JeGt/2bsiF1anTVup0glTRXHdIK+3lkcUmCOObmNCwHBarOHMQ4KsvWdZlE2o\n 0tPPUKVC3XLo18MkK/T/H8I5dmNhPdTte2z3v5jqysL+/tGdvXCEAjX8Tib4CeadX836\n hk0jmdZr1qwDfA83wjrQOweQEZUHBBeCJbKI16P8gO7M/G0UBhz7iSNpCgdVuO6uJGIe\n uQuin6uMxcjBQTRO7upur9ewSjhlqE5sHoIh3TlNigxW6Gz3F7masA/LR6b5PVN6my50\n 3BXw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1765966260; x=1766571060;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=gu64FyOC35e6HYruzEiAR601OIEUitARDAoJ4iQ8jiM=;\n b=aqLQz9EE36b2aOcLUVx7Z3qeyHHNaFIhEuoJpLoox8QP4iI/wOhG19j77DBmDgPCe/\n YD4TDFrP8frSQmMuUATSsZLgBzvapl4N4ddgnvOWgdtqaSqT0yE19XP3uaxlUo0/tsoL\n obQvwAtnyIFSG2NMa7er2T7bhfElnJj48RbDVujXAI5yHRii/i7Cr/iuxxRQVCS0zzHC\n jIsPSM+CvimzBb3TFC2jTxe2OwcrfMiA2PYRNKasoKzS6LLossV06YnPEXqAt7hFyUel\n o1OAPTdlJRGGqPkbSbDjRuFgeGHJz+vcOELgyL+EwU8V7XtKEtJ9by9Zx/7LA3ZZBCAc\n hhxA==", "X-Forwarded-Encrypted": "i=1;\n AJvYcCVvwBSE61+3R7gacVMgLWtNbFn+B+BbnkekwAECUDQj58HuI/wQ52Xb50u15l5WJj9LmeQ9/H195LQ=@vger.kernel.org", "X-Gm-Message-State": "AOJu0YxAxA90qItMV45TA74KJnuj9v7WEdYGNw398VbmgZS7Z/uRawEo\n\tDl04CjuNTjTNTxryzF2DQDH3JzNryM27kRLvhXCmd39Bw0aLJn3dIJG1e7EmGfZCx4Y=", "X-Gm-Gg": "AY/fxX5r3fg7hc2ZEMnmokDp8rJWKi6vC50ow/92EwnlykPy8LstAdsmsgUU0ymKvFw\n\tsVY12Dn4LYO4gZsyZ0tsbPJGZU+1u0jH9nHmqUNh4E4HF/QMZCM0O17snv4fFmPUafFvgpSWXY9\n\tuegs6WucSn8/xEq2AvC4Hvgrs0bBKUPgOrEA/0uoyrEmo1SQ75cBXdj+/9HaPhUdWAx4wCaP120\n\tdlSiGOwZePcCdLH7aKJyRvCavqfxKHkQbkSNwBQP1NhUyD/n+FwGI005NkWw0iBkz1mNb0aaJn2\n\twdd8hQjCEHBZHIcEIF2vALlyGGUzvxclhEkg20di5ZmFDEAgi0BCanJ7zRdDcWMzwsxrVib0pId\n\tOlLZ7mg066jyGpINrQwQkpNYT31TdkkpTPcLVGAkQbyGTiHWnfWzP0VAcIvdifw9YKV1J04EQsk\n\tj2pT/e3r1OAiWykQ1KdDPZSIpkJdc2i+vHXL9wRaSwzVI2Pp/Mw/IdiTBihP4L/5uTRpxMst6pr\n\tvoZznyUgHs5pz4J", "X-Google-Smtp-Source": "\n AGHT+IGVdu+ouqQOHhPYhLM2bOTsHHu7go67EW76bydcCzQOcwGZ7xaopeNrmww5IZt6oCl8mH3roA==", "X-Received": "by 2002:a05:6402:1e8a:b0:647:5544:77e with SMTP id\n 4fb4d7f45d1cf-6499b1e4cb3mr15208957a12.29.1765966256023;\n Wed, 17 Dec 2025 02:10:56 -0800 (PST)", "From": "=?utf-8?q?Andr=C3=A9_Draszik?= <andre.draszik@linaro.org>", "Date": "Wed, 17 Dec 2025 10:10:50 +0000", "Subject": "[PATCH RESEND v2 3/3] mfd: sec: drop now unused struct\n sec_pmic_dev::irq_data", "Precedence": "bulk", "X-Mailing-List": "linux-rtc@vger.kernel.org", "List-Id": "<linux-rtc.vger.kernel.org>", "List-Subscribe": "<mailto:linux-rtc+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-rtc+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "8bit", "Message-Id": "<20251217-s5m-alarm-v2-3-b7bff003e94c@linaro.org>", "References": "<20251217-s5m-alarm-v2-0-b7bff003e94c@linaro.org>", "In-Reply-To": "<20251217-s5m-alarm-v2-0-b7bff003e94c@linaro.org>", "To": "Krzysztof Kozlowski <krzk@kernel.org>, Lee Jones <lee@kernel.org>,\n Alexandre Belloni <alexandre.belloni@bootlin.com>", "Cc": "Peter Griffin <peter.griffin@linaro.org>,\n Tudor Ambarus <tudor.ambarus@linaro.org>,\n Will McVicker <willmcvicker@google.com>, Juan Yescas <jyescas@google.com>,\n Douglas Anderson <dianders@chromium.org>, kernel-team@android.com,\n Kaustabh Chakraborty <kauschluss@disroot.org>, linux-kernel@vger.kernel.org,\n linux-samsung-soc@vger.kernel.org, linux-rtc@vger.kernel.org, =?utf-8?q?An?=\n\t=?utf-8?q?dr=C3=A9_Draszik?= <andre.draszik@linaro.org>", "X-Mailer": "b4 0.14.2" }, "content": "This was used only to allow the s5m RTC driver to deal with the alarm\nIRQ. That driver now uses a different approach to acquire that IRQ, and\n::irq_data doesn't need to be kept around anymore.\n\nSigned-off-by: André Draszik <andre.draszik@linaro.org>\n---\n drivers/mfd/sec-common.c | 9 +++---\n drivers/mfd/sec-core.h | 2 +-\n drivers/mfd/sec-irq.c | 63 ++++++++++++++++++----------------------\n include/linux/mfd/samsung/core.h | 1 -\n 4 files changed, 35 insertions(+), 40 deletions(-)", "diff": "diff --git a/drivers/mfd/sec-common.c b/drivers/mfd/sec-common.c\nindex 77370db52a7ba81234136b29f85892f4b197f429..0021f9ae8484fd0afc2e47c813a953c91fa38546 100644\n--- a/drivers/mfd/sec-common.c\n+++ b/drivers/mfd/sec-common.c\n@@ -163,6 +163,7 @@ sec_pmic_parse_dt_pdata(struct device *dev)\n int sec_pmic_probe(struct device *dev, int device_type, unsigned int irq,\n \t\t struct regmap *regmap, struct i2c_client *client)\n {\n+\tstruct regmap_irq_chip_data *irq_data;\n \tstruct sec_platform_data *pdata;\n \tconst struct mfd_cell *sec_devs;\n \tstruct sec_pmic_dev *sec_pmic;\n@@ -187,9 +188,9 @@ int sec_pmic_probe(struct device *dev, int device_type, unsigned int irq,\n \n \tsec_pmic->pdata = pdata;\n \n-\tret = sec_irq_init(sec_pmic);\n-\tif (ret)\n-\t\treturn ret;\n+\tirq_data = sec_irq_init(sec_pmic);\n+\tif (IS_ERR(irq_data))\n+\t\treturn PTR_ERR(irq_data);\n \n \tpm_runtime_set_active(sec_pmic->dev);\n \n@@ -240,7 +241,7 @@ int sec_pmic_probe(struct device *dev, int device_type, unsigned int irq,\n \t\t\t\t sec_pmic->device_type);\n \t}\n \tret = devm_mfd_add_devices(sec_pmic->dev, -1, sec_devs, num_sec_devs,\n-\t\t\t\t NULL, 0, regmap_irq_get_domain(sec_pmic->irq_data));\n+\t\t\t\t NULL, 0, regmap_irq_get_domain(irq_data));\n \tif (ret)\n \t\treturn ret;\n \ndiff --git a/drivers/mfd/sec-core.h b/drivers/mfd/sec-core.h\nindex 92c7558ab8b0de44a52e028eeb7998e38358cb4c..8d85c70c232612d1f7e5fb61b2acd25bf03a62e0 100644\n--- a/drivers/mfd/sec-core.h\n+++ b/drivers/mfd/sec-core.h\n@@ -18,6 +18,6 @@ int sec_pmic_probe(struct device *dev, int device_type, unsigned int irq,\n \t\t struct regmap *regmap, struct i2c_client *client);\n void sec_pmic_shutdown(struct device *dev);\n \n-int sec_irq_init(struct sec_pmic_dev *sec_pmic);\n+struct regmap_irq_chip_data *sec_irq_init(struct sec_pmic_dev *sec_pmic);\n \n #endif /* __SEC_CORE_INT_H */\ndiff --git a/drivers/mfd/sec-irq.c b/drivers/mfd/sec-irq.c\nindex d992e41e716dcdc060421e1db8475523842a12be..96f53c3617da4cb54f650f9b98c0b934b823ceda 100644\n--- a/drivers/mfd/sec-irq.c\n+++ b/drivers/mfd/sec-irq.c\n@@ -268,26 +268,28 @@ static const struct regmap_irq_chip s5m8767_irq_chip = {\n \t.ack_base = S5M8767_REG_INT1,\n };\n \n-static int s2mpg1x_add_chained_irq_chip(struct device *dev, struct regmap *regmap, int pirq,\n-\t\t\t\t\tstruct regmap_irq_chip_data *parent,\n-\t\t\t\t\tconst struct regmap_irq_chip *chip,\n-\t\t\t\t\tstruct regmap_irq_chip_data **data)\n+static struct regmap_irq_chip_data *\n+s2mpg1x_add_chained_irq_chip(struct device *dev, struct regmap *regmap, int pirq,\n+\t\t\t struct regmap_irq_chip_data *parent,\n+\t\t\t const struct regmap_irq_chip *chip)\n {\n+\tstruct regmap_irq_chip_data *data;\n \tint irq, ret;\n \n \tirq = regmap_irq_get_virq(parent, pirq);\n \tif (irq < 0)\n-\t\treturn dev_err_probe(dev, irq, \"Failed to get parent vIRQ(%d) for chip %s\\n\", pirq,\n-\t\t\t\t chip->name);\n+\t\treturn dev_err_ptr_probe(dev, irq, \"Failed to get parent vIRQ(%d) for chip %s\\n\",\n+\t\t\t\t\t pirq, chip->name);\n \n-\tret = devm_regmap_add_irq_chip(dev, regmap, irq, IRQF_ONESHOT | IRQF_SHARED, 0, chip, data);\n+\tret = devm_regmap_add_irq_chip(dev, regmap, irq, IRQF_ONESHOT | IRQF_SHARED, 0, chip,\n+\t\t\t\t &data);\n \tif (ret)\n-\t\treturn dev_err_probe(dev, ret, \"Failed to add %s IRQ chip\\n\", chip->name);\n+\t\treturn dev_err_ptr_probe(dev, ret, \"Failed to add %s IRQ chip\\n\", chip->name);\n \n-\treturn 0;\n+\treturn data;\n }\n \n-static int sec_irq_init_s2mpg1x(struct sec_pmic_dev *sec_pmic)\n+static struct regmap_irq_chip_data *sec_irq_init_s2mpg1x(struct sec_pmic_dev *sec_pmic)\n {\n \tconst struct regmap_irq_chip *irq_chip, *chained_irq_chip;\n \tstruct regmap_irq_chip_data *irq_data;\n@@ -302,27 +304,28 @@ static int sec_irq_init_s2mpg1x(struct sec_pmic_dev *sec_pmic)\n \t\tchained_pirq = S2MPG10_COMMON_IRQ_PMIC;\n \t\tbreak;\n \tdefault:\n-\t\treturn dev_err_probe(sec_pmic->dev, -EINVAL, \"Unsupported device type %d\\n\",\n-\t\t\t\t sec_pmic->device_type);\n+\t\treturn dev_err_ptr_probe(sec_pmic->dev, -EINVAL, \"Unsupported device type %d\\n\",\n+\t\t\t\t\t sec_pmic->device_type);\n \t};\n \n \tregmap_common = dev_get_regmap(sec_pmic->dev, \"common\");\n \tif (!regmap_common)\n-\t\treturn dev_err_probe(sec_pmic->dev, -EINVAL, \"No 'common' regmap %d\\n\",\n-\t\t\t\t sec_pmic->device_type);\n+\t\treturn dev_err_ptr_probe(sec_pmic->dev, -EINVAL, \"No 'common' regmap %d\\n\",\n+\t\t\t\t\t sec_pmic->device_type);\n \n \tret = devm_regmap_add_irq_chip(sec_pmic->dev, regmap_common, sec_pmic->irq, IRQF_ONESHOT, 0,\n \t\t\t\t irq_chip, &irq_data);\n \tif (ret)\n-\t\treturn dev_err_probe(sec_pmic->dev, ret, \"Failed to add %s IRQ chip\\n\",\n-\t\t\t\t irq_chip->name);\n+\t\treturn dev_err_ptr_probe(sec_pmic->dev, ret, \"Failed to add %s IRQ chip\\n\",\n+\t\t\t\t\t irq_chip->name);\n \n \treturn s2mpg1x_add_chained_irq_chip(sec_pmic->dev, sec_pmic->regmap_pmic, chained_pirq,\n-\t\t\t\t\t irq_data, chained_irq_chip, &sec_pmic->irq_data);\n+\t\t\t\t\t irq_data, chained_irq_chip);\n }\n \n-int sec_irq_init(struct sec_pmic_dev *sec_pmic)\n+struct regmap_irq_chip_data *sec_irq_init(struct sec_pmic_dev *sec_pmic)\n {\n+\tstruct regmap_irq_chip_data *sec_irq_chip_data;\n \tconst struct regmap_irq_chip *sec_irq_chip;\n \tint ret;\n \n@@ -331,7 +334,7 @@ int sec_irq_init(struct sec_pmic_dev *sec_pmic)\n \t\tsec_irq_chip = &s5m8767_irq_chip;\n \t\tbreak;\n \tcase S2DOS05:\n-\t\treturn 0;\n+\t\treturn NULL;\n \tcase S2MPA01:\n \t\tsec_irq_chip = &s2mps14_irq_chip;\n \t\tbreak;\n@@ -356,30 +359,22 @@ int sec_irq_init(struct sec_pmic_dev *sec_pmic)\n \t\tsec_irq_chip = &s2mpu05_irq_chip;\n \t\tbreak;\n \tdefault:\n-\t\treturn dev_err_probe(sec_pmic->dev, -EINVAL,\n-\t\t\t\t \"Unsupported device type %d\\n\",\n-\t\t\t\t sec_pmic->device_type);\n+\t\treturn dev_err_ptr_probe(sec_pmic->dev, -EINVAL, \"Unsupported device type %d\\n\",\n+\t\t\t\t\t sec_pmic->device_type);\n \t}\n \n \tif (!sec_pmic->irq) {\n \t\tdev_warn(sec_pmic->dev,\n \t\t\t \"No interrupt specified, no interrupts\\n\");\n-\t\treturn 0;\n+\t\treturn NULL;\n \t}\n \n \tret = devm_regmap_add_irq_chip(sec_pmic->dev, sec_pmic->regmap_pmic,\n \t\t\t\t sec_pmic->irq, IRQF_ONESHOT,\n-\t\t\t\t 0, sec_irq_chip, &sec_pmic->irq_data);\n+\t\t\t\t 0, sec_irq_chip, &sec_irq_chip_data);\n \tif (ret)\n-\t\treturn dev_err_probe(sec_pmic->dev, ret,\n-\t\t\t\t \"Failed to add %s IRQ chip\\n\",\n-\t\t\t\t sec_irq_chip->name);\n+\t\treturn dev_err_ptr_probe(sec_pmic->dev, ret, \"Failed to add %s IRQ chip\\n\",\n+\t\t\t\t\t sec_irq_chip->name);\n \n-\t/*\n-\t * The rtc-s5m driver requests S2MPS14_IRQ_RTCA0 also for S2MPS11\n-\t * so the interrupt number must be consistent.\n-\t */\n-\tBUILD_BUG_ON(((enum s2mps14_irq)S2MPS11_IRQ_RTCA0) != S2MPS14_IRQ_RTCA0);\n-\n-\treturn 0;\n+\treturn sec_irq_chip_data;\n }\ndiff --git a/include/linux/mfd/samsung/core.h b/include/linux/mfd/samsung/core.h\nindex d785e101fe795a5d8f9cccf4ccc4232437e89416..c7c3c8cd8d5f99ef0cc3188e1c3b49031f4750f2 100644\n--- a/include/linux/mfd/samsung/core.h\n+++ b/include/linux/mfd/samsung/core.h\n@@ -69,7 +69,6 @@ struct sec_pmic_dev {\n \n \tint device_type;\n \tint irq;\n-\tstruct regmap_irq_chip_data *irq_data;\n };\n \n struct sec_platform_data {\n", "prefixes": [ "RESEND", "v2", "3/3" ] }