@@ -1844,26 +1844,10 @@ static void __init of_unittest_overlay_gpio(void)
18441844 unittest (overlay_data_apply ("overlay_gpio_02b" , NULL ),
18451845 "Adding overlay 'overlay_gpio_02b' failed\n" );
18461846
1847- /*
1848- * messages are the result of the probes, after the
1849- * driver is registered
1850- */
1851-
1852- EXPECT_BEGIN (KERN_DEBUG ,
1853- "gpio-<<int>> (line-B-input): hogged as input\n" );
1854-
1855- EXPECT_BEGIN (KERN_DEBUG ,
1856- "gpio-<<int>> (line-A-input): hogged as input\n" );
1857-
18581847 ret = platform_driver_register (& unittest_gpio_driver );
18591848 if (unittest (ret == 0 , "could not register unittest gpio driver\n" ))
18601849 return ;
18611850
1862- EXPECT_END (KERN_DEBUG ,
1863- "gpio-<<int>> (line-A-input): hogged as input\n" );
1864- EXPECT_END (KERN_DEBUG ,
1865- "gpio-<<int>> (line-B-input): hogged as input\n" );
1866-
18671851 unittest (probe_pass_count + 2 == unittest_gpio_probe_pass_count ,
18681852 "unittest_gpio_probe() failed or not called\n" );
18691853
@@ -1888,17 +1872,11 @@ static void __init of_unittest_overlay_gpio(void)
18881872 probe_pass_count = unittest_gpio_probe_pass_count ;
18891873 chip_request_count = unittest_gpio_chip_request_count ;
18901874
1891- EXPECT_BEGIN (KERN_DEBUG ,
1892- "gpio-<<int>> (line-D-input): hogged as input\n" );
1893-
18941875 /* overlay_gpio_03 contains gpio node and child gpio hog node */
18951876
18961877 unittest (overlay_data_apply ("overlay_gpio_03" , NULL ),
18971878 "Adding overlay 'overlay_gpio_03' failed\n" );
18981879
1899- EXPECT_END (KERN_DEBUG ,
1900- "gpio-<<int>> (line-D-input): hogged as input\n" );
1901-
19021880 unittest (probe_pass_count + 1 == unittest_gpio_probe_pass_count ,
19031881 "unittest_gpio_probe() failed or not called\n" );
19041882
@@ -1935,17 +1913,11 @@ static void __init of_unittest_overlay_gpio(void)
19351913 * - processing gpio for overlay_gpio_04b
19361914 */
19371915
1938- EXPECT_BEGIN (KERN_DEBUG ,
1939- "gpio-<<int>> (line-C-input): hogged as input\n" );
1940-
19411916 /* overlay_gpio_04b contains child gpio hog node */
19421917
19431918 unittest (overlay_data_apply ("overlay_gpio_04b" , NULL ),
19441919 "Adding overlay 'overlay_gpio_04b' failed\n" );
19451920
1946- EXPECT_END (KERN_DEBUG ,
1947- "gpio-<<int>> (line-C-input): hogged as input\n" );
1948-
19491921 unittest (chip_request_count + 1 == unittest_gpio_chip_request_count ,
19501922 "unittest_gpio_chip_request() called %d times (expected 1 time)\n" ,
19511923 unittest_gpio_chip_request_count - chip_request_count );
0 commit comments