File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,6 @@ struct mchp_spdiftx_dev {
196196 struct clk * pclk ;
197197 struct clk * gclk ;
198198 unsigned int fmt ;
199- const struct mchp_i2s_caps * caps ;
200199 int gclk_enabled :1 ;
201200};
202201
@@ -766,8 +765,6 @@ static const struct of_device_id mchp_spdiftx_dt_ids[] = {
766765MODULE_DEVICE_TABLE (of , mchp_spdiftx_dt_ids );
767766static int mchp_spdiftx_probe (struct platform_device * pdev )
768767{
769- struct device_node * np = pdev -> dev .of_node ;
770- const struct of_device_id * match ;
771768 struct mchp_spdiftx_dev * dev ;
772769 struct resource * mem ;
773770 struct regmap * regmap ;
@@ -781,11 +778,6 @@ static int mchp_spdiftx_probe(struct platform_device *pdev)
781778 if (!dev )
782779 return - ENOMEM ;
783780
784- /* Get hardware capabilities. */
785- match = of_match_node (mchp_spdiftx_dt_ids , np );
786- if (match )
787- dev -> caps = match -> data ;
788-
789781 /* Map I/O registers. */
790782 base = devm_platform_get_and_ioremap_resource (pdev , 0 , & mem );
791783 if (IS_ERR (base ))
You can’t perform that action at this time.
0 commit comments