From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755398AbbG3K7Y (ORCPT ); Thu, 30 Jul 2015 06:59:24 -0400 Received: from mail.skyhub.de ([78.46.96.112]:52891 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752410AbbG3K7W (ORCPT ); Thu, 30 Jul 2015 06:59:22 -0400 Date: Thu, 30 Jul 2015 12:59:17 +0200 From: Borislav Petkov To: Viresh Kumar Cc: Greg Kroah-Hartman , Rafael Wysocki , Chris Metcalf , Dmitry Torokhov , "H. Peter Anvin" , Ingo Molnar , Joe Perches , Joerg Roedel , open list , "open list:CPU FREQUENCY DRIVERS" , "open list:SUPERH" , "Luis R. Rodriguez" , "open list:NETWORKING DRIVERS" , Nicolas Iooss , Paul Gortmaker , Thomas Gleixner , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" Subject: Re: [PATCH] bus: subsys: update return type of ->remove_dev() to void Message-ID: <20150730105917.GA25460@nazgul.tnic> References: <02c0569741812b655edde5124c3e2937bb79f9f8.1438248445.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <02c0569741812b655edde5124c3e2937bb79f9f8.1438248445.git.viresh.kumar@linaro.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 30, 2015 at 03:04:01PM +0530, Viresh Kumar wrote: > Its return value is not used by the subsys core and nothing meaningful > can be done with it, even if we want to use it. The subsys device is > anyway getting removed. I'm assuming sysfs paths covered by it, will remain intact... ? For the microcode loader case that's this hierarchy here: $ tree /sys/devices/system/cpu/cpu?/microcode/ /sys/devices/system/cpu/cpu0/microcode/ ├── processor_flags └── version /sys/devices/system/cpu/cpu1/microcode/ ├── processor_flags └── version ... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --